@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

/* Typography Styles from Figma */
.heading-h4-light {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -0.16px;
  text-align: center;
  color: #151515;
}

.label-large-medium {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.3px;
  color: #2E2E2E;
}

.label-medium-medium {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.176px;
  color: #151515;
}

.label-small-medium {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #151515;
}

.label-small-regular {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  color: #151515;
}

.label-xsmall-medium {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: #767676;
}

/* Custom Colors from Figma */
.bg-fincoblue-100 {
  background-color: #F5F9FC;
}

.text-fincoblue-400 {
  color: #67ADDF;
}

.text-fincoblue-500 {
  color: #2881BB;
}

.text-dark-blue {
  color: #15276B;
}

.text-gray-primary {
  color: #151515;
}

.text-gray-secondary {
  color: #2E2E2E;
}

.text-gray-tertiary {
  color: #767676;
}

.text-gray-placeholder {
  color: #A1A1A1;
}

.border-gray-divider {
  border-color: #D4D4D4;
}

/* Input and Form Styles */
.form-input {
  border: 1px solid #D4D4D4;
  border-radius: 8px;
  padding: 14px 16px;
  height: 48px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  width: 100%;
  background-color: #FFFFFF;
  color: #151515;
}

.form-input::placeholder {
  color: #A1A1A1;
}

.form-input:focus {
  outline: none;
  border-color: #2881BB;
  ring: 2px;
  ring-color: #67ADDF;
}

.form-select {
  border: 1px solid #D4D4D4;
  border-radius: 8px;
  padding: 12px 16px;
  height: 48px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.084px;
  width: 100%;
  background-color: #FFFFFF;
  color: #151515;
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="%23151515" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 24px 24px;
  padding-right: 48px;
}

.form-select:focus {
  outline: none;
  border-color: #2881BB;
}

/* File Upload Card */
.file-upload-card {
  border: 1px dashed #D4D4D4;
  border-radius: 12px;
  padding: 24px 16px;
  background-color: #FFFFFF;
}

/* Radio Button Styles */
.radio-pill {
  border: 1px solid #D4D4D4;
  border-radius: 8px;
  padding: 20px 16px;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-pill:hover {
  border-color: #2881BB;
}

.radio-pill.selected {
  border-color: #2881BB;
  background-color: #F5F9FC;
}

/* Custom Radio Button */
.custom-radio {
  width: 24px;
  height: 24px;
  border: 2px solid #A1A1A1;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.custom-radio.checked {
  border-color: #2881BB;
}

.custom-radio.checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #182449;
  border-radius: 50%;
}

/* Button Styles */
.btn-upload {
  border: 1px solid #D4D4D4;
  border-radius: 72.73px;
  padding: 12px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4285714286em;
  letter-spacing: -0.6%;
  color: #151515;
  background-color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-upload:hover {
  background-color: #F5F9FC;
}

/* Info Toast */
.info-toast {
  background-color: #F5F9FC;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Container Spacing - Exact from Figma */
.figma-container {
  width: 484px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .figma-container {
    width: 100%;
    padding: 0 16px;
  }
  
  .heading-h4-light {
    font-size: 24px;
  }
}
