/* USD FCNR Campaign Landing Page */

.usd-fcnr-campaign {
  --color-text: #231f20;
  --color-brand: #00844a;
  --color-brand-dark: #16643b;
  --color-accent: #e6e414;
  --color-accent-hover: #cfcd09;
  --color-error: #f24040;
  --color-section-peach: #fcede0;
  --color-section-pale: #ffffdd;
  --color-icon-bg: #e2f8e6;
  --color-divider: #e7e7e7;
  --color-white: #ffffff;
  --shadow-card: 2px 2px 10px rgba(35, 31, 32, 0.2);
  font-family: Poppins, sans-serif;
  color: var(--color-text);
  background: #f7f7f7;
}

.usd-fcnr-campaign *,
.usd-fcnr-campaign *::before,
.usd-fcnr-campaign *::after {
  box-sizing: border-box;
}

/* Hero — Samriddhi-style banner + floating form */
.usd-fcnr-campaign .hero {
  display: block;
  background: var(--color-section-peach);
  position: relative;
}

@media (max-width: 767px) {
  .choice-that-grow-72.usd-fcnr-campaign .hero,
  .usd-fcnr-campaign .hero {
    height: auto !important;
    min-height: 0;
    background-image: none !important;
    overflow: visible;
  }

  .usd-fcnr-campaign .hero > .apply-form {
    padding: 24px 16px 32px;
    margin-top: 0;
    position: relative;
    z-index: auto;
    background: #f7f7f7;
  }

  .usd-fcnr-campaign .hero .apply-form__card {
    box-shadow: 0 8px 28px rgba(35, 31, 32, 0.12);
  }

  .usd-fcnr-campaign .fcnr-benefits {
    position: relative;
    z-index: 1;
  }
}

@media (min-width: 768px) {
  .choice-that-grow-72.usd-fcnr-campaign .hero,
  .usd-fcnr-campaign .hero {
    display: grid;
    grid-template-columns: 1fr;
    height: 600px !important;
    min-height: 600px;
    max-height: 600px;
    background: var(--color-section-peach);
    background-image: none !important;
    overflow: hidden;
  }

  .usd-fcnr-campaign .hero > .banner {
    grid-row: 1;
    grid-column: 1;
    height: 600px;
    overflow: hidden;
  }

  .usd-fcnr-campaign .hero > .apply-form {
    grid-row: 1;
    grid-column: 1;
    align-self: center;
    justify-self: end;
    z-index: 1;
    width: 480px;
    max-width: none;
    padding: 24px 40px;
    background: transparent;
  }

  .usd-fcnr-campaign .hero .apply-form__card {
    box-shadow: 0 16px 48px rgba(35, 31, 32, 0.16);
  }
}


.usd-fcnr-campaign .banner {
  display: block;
  width: 100%;
}

.usd-fcnr-campaign .banner picture {
  display: block;
  width: 100%;
  height: 100%;
}

.usd-fcnr-campaign .banner__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: bottom left;
}

@media (min-width: 768px) {
  .usd-fcnr-campaign .banner__img {
    height: 600px;
    object-fit: cover;
    object-position: bottom left;
  }
}

.usd-fcnr-campaign .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Apply form (Samriddhi pattern) */
.usd-fcnr-campaign .apply-form {
  background: #f7f7f7;
  padding: 32px 16px;
}

@media (min-width: 768px) {
  .usd-fcnr-campaign .hero .apply-form {
    background: transparent;
  }
}

.usd-fcnr-campaign .hero .apply-form__container {
  max-width: none;
  width: 100%;
  margin: 0;
}

.usd-fcnr-campaign .apply-form__container {
  max-width: 1200px;
  margin: 0 auto;
}

.usd-fcnr-campaign .apply-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.usd-fcnr-campaign .apply-form__card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.usd-fcnr-campaign .apply-form__title {
  font-size: 1.4286em;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-brand);
  margin: 0;
}

.usd-fcnr-campaign .apply-form__fields,
.usd-fcnr-campaign .apply-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usd-fcnr-campaign .apply-form__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.usd-fcnr-campaign .apply-form__label {
  font-size: 1em;
  font-weight: 400;
  line-height: 16px;
}

.usd-fcnr-campaign .apply-form__required {
  color: var(--color-error);
}

.usd-fcnr-campaign .apply-form__input,
.usd-fcnr-campaign .apply-form__textarea {
  border: 1px solid var(--color-text);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1em;
  color: var(--color-text);
  padding: 0 8px;
  width: 100%;
  background: transparent;
  outline: none;
}

.usd-fcnr-campaign .apply-form__input {
  height: 40px;
}

.usd-fcnr-campaign .apply-form__textarea {
  height: 80px;
  padding: 8px;
  resize: vertical;
}

.usd-fcnr-campaign .apply-form__input:focus,
.usd-fcnr-campaign .apply-form__textarea:focus {
  border-color: var(--color-brand);
}

.usd-fcnr-campaign .apply-form__error {
  display: none;
  font-size: 0.8571em;
  line-height: 16px;
  color: var(--color-error);
}

.usd-fcnr-campaign .apply-form__error--visible {
  display: block;
}

.usd-fcnr-campaign .apply-form__input--error,
.usd-fcnr-campaign .apply-form__textarea--error {
  border-color: var(--color-error);
}

.usd-fcnr-campaign .apply-form__consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.usd-fcnr-campaign .apply-form__checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--color-brand);
  margin-top: 0;
  cursor: pointer;
}

.usd-fcnr-campaign .apply-form__consent-text {
  font-size: 0.7143em;
  line-height: 12px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.usd-fcnr-campaign .apply-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent);
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 1.1429em;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-text);
  text-transform: uppercase;
  cursor: pointer;
}

.usd-fcnr-campaign .apply-form__submit:hover {
  background: var(--color-accent-hover);
}

@media (hover: none) {
  .usd-fcnr-campaign .apply-form__submit:active {
    background: var(--color-accent-hover);
  }
}

.usd-fcnr-campaign .apply-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.usd-fcnr-campaign .apply-form__status {
  font-size: 1em;
  line-height: 18px;
  margin: 0;
}

.usd-fcnr-campaign .apply-form__status:empty {
  display: none;
}

.usd-fcnr-campaign .apply-form__status--success {
  color: var(--color-brand);
}

.usd-fcnr-campaign .apply-form__status--error {
  color: var(--color-error);
}

@media (min-width: 768px) {
  .usd-fcnr-campaign .apply-form__row {
    flex-direction: row;
  }
}

/* Section headers */
.fcnr-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.fcnr-section-header__title {
  margin: 0;
  font-size: 1.7143em;
  font-weight: 600;
  line-height: 1.3;
}

.fcnr-section-header__line {
  width: 100%;
  height: 1px;
  background: var(--color-brand);
}

@media (min-width: 768px) {
  .fcnr-section-header {
    flex-direction: row;
    align-items: center;
  }

  .fcnr-section-header__title {
    font-size: 1.8571em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .fcnr-section-header__line {
    flex: 1;
    min-width: 0;
  }
}

/* Benefit cards */
.fcnr-benefits {
  padding: 56px 16px;
  background: #f7f7f7;
}

.fcnr-benefits__container {
  max-width: 1200px;
  margin: 0 auto;
}

.fcnr-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .fcnr-benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.fcnr-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-radius: 10px;
  background: var(--color-white);
  border: 2px solid var(--color-brand);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.fcnr-benefit-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--color-icon-bg);
  font-size: 1.75rem;
}

.fcnr-benefit-card__title {
  margin: 0;
  font-size: 1.1429em;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-brand);
}

.fcnr-benefit-card__text {
  margin: 0;
  font-size: 0.9286em;
  line-height: 1.55;
  color: rgba(35, 31, 32, 0.85);
}

/* Calculator */
.fcnr-calculator {
  padding: 56px 16px;
  background: var(--color-section-pale);
}

.fcnr-calculator__container {
  max-width: 1200px;
  margin: 0 auto;
}

.fcnr-calculator__desc {
  margin: -8px 0 24px;
  line-height: 1.5;
}

.fcnr-calculator__panel {
  display: grid;
  gap: 0;
  border-radius: 12px;
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

@media (min-width: 900px) {
  .fcnr-calculator__panel {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.fcnr-calculator__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px 24px;
}

@media (min-width: 900px) {
  .fcnr-calculator__form {
    padding: 32px;
    border-right: 1px solid var(--color-divider);
  }
}

.fcnr-calculator__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.fcnr-calculator__amount-field {
  gap: 12px;
}

.fcnr-calculator__amount-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.fcnr-calculator__amount-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  padding: 8px 12px;
  border: 1px solid var(--color-divider);
  border-radius: 6px;
  background: #f9f9f9;
}

.fcnr-calculator__amount-currency {
  font-size: 0.8571em;
  font-weight: 600;
  color: rgba(35, 31, 32, 0.65);
}

.fcnr-calculator__amount-display {
  width: 100%;
  min-width: 80px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  color: var(--color-text);
  text-align: right;
  outline: none;
}

.fcnr-calculator__slider-wrap {
  position: relative;
  padding: 8px 0 4px;
}

.fcnr-calculator__slider-rail {
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  pointer-events: none;
}

.fcnr-calculator__slider-fill {
  height: 100%;
  width: 0;
  background: var(--color-brand);
  border-radius: 2px;
  transition: width 0.1s ease;
}

.fcnr-calculator__slider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.fcnr-calculator__slider:focus {
  outline: none;
}

.fcnr-calculator__slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(0, 132, 74, 0.25);
}

.fcnr-calculator__slider:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(0, 132, 74, 0.25);
}

.fcnr-calculator__slider::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.fcnr-calculator__slider::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.fcnr-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 3px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(35, 31, 32, 0.15);
  cursor: pointer;
}

.fcnr-calculator__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 3px solid var(--color-brand);
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(35, 31, 32, 0.15);
  cursor: pointer;
}

.fcnr-calculator__slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.7857em;
  font-weight: 500;
  color: rgba(35, 31, 32, 0.55);
  padding: 0 2px;
}

.fcnr-calculator__tier-field {
  border: none;
  margin: 0;
  padding: 0;
}

.fcnr-calculator__label {
  font-size: 0.9286em;
  font-weight: 600;
  line-height: 1.3;
}

.fcnr-calculator__select {
  height: 48px;
  border: 1px solid var(--color-text);
  border-radius: 6px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 1em;
  background: var(--color-white);
  width: 100%;
}

.fcnr-calculator__select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 2px rgba(0, 132, 74, 0.15);
}

.fcnr-calculator__tier-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 540px) {
  .fcnr-calculator__tier-options {
    grid-template-columns: 1fr 1fr;
  }
}

.fcnr-calculator__tier-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  background: var(--color-white);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fcnr-calculator__tier-option:has(input:checked) {
  border-color: var(--color-brand);
  background: #f3faf5;
}

.fcnr-calculator__tier-option input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--color-brand);
  cursor: pointer;
}

.fcnr-calculator__tier-label {
  font-size: 0.8571em;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.fcnr-calculator__results {
  display: flex;
  padding: 24px;
  background: #f3faf5;
}

@media (min-width: 900px) {
  .fcnr-calculator__results {
    padding: 32px;
    align-items: stretch;
  }
}

.fcnr-calculator__results-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 24px;
  border-radius: 12px;
  background: var(--color-brand);
  color: var(--color-white);
}

.fcnr-calculator__result-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.fcnr-calculator__result-row:first-child {
  padding-top: 0;
}

.fcnr-calculator__result-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fcnr-calculator__result-row--highlight {
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: none;
}

.fcnr-calculator__result-label {
  font-size: 0.8571em;
  font-weight: 500;
  opacity: 0.9;
}

.fcnr-calculator__result-value {
  font-size: 1.2857em;
  font-weight: 700;
  line-height: 1.25;
}

.fcnr-calculator__result-row--highlight .fcnr-calculator__result-value {
  font-size: 1.5714em;
}

.fcnr-calculator__note {
  margin: 16px 0 0;
  font-size: 0.8571em;
  color: rgba(35, 31, 32, 0.75);
}

/* Rates table */
.fcnr-rates {
  padding: 56px 16px;
  background: #f7f7f7;
}

.fcnr-rates__container {
  max-width: 1200px;
  margin: 0 auto;
}

.fcnr-rates__desc {
  margin: -8px 0 24px;
  line-height: 1.5;
}

.fcnr-rates__table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--color-brand);
  background: var(--color-white);
}

.fcnr-rates__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.fcnr-rates__table th,
.fcnr-rates__table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--color-divider);
  font-size: 0.9286em;
  line-height: 1.45;
}

.fcnr-rates__table th {
  background: var(--color-brand);
  color: var(--color-white);
  font-weight: 600;
}

.fcnr-rates__table tbody tr:last-child td {
  border-bottom: none;
}

.fcnr-rates__table td:not(:first-child) {
  font-weight: 600;
  color: var(--color-brand);
  white-space: nowrap;
}

.fcnr-rates__disclaimer {
  margin: 12px 0 0;
  font-size: 0.8571em;
  color: rgba(35, 31, 32, 0.75);
}

/* FAQ */
.usd-fcnr-campaign .faq-section {
  padding: 56px 16px;
  background: var(--color-white);
}

.usd-fcnr-campaign .faq-section__container {
  max-width: 1200px;
  margin: 0 auto;
}

.usd-fcnr-campaign .faq-section__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 24px;
}

.usd-fcnr-campaign .faq-section__title {
  margin: 0;
  font-size: 1.625em;
  font-weight: 600;
  line-height: 1.3;
}

.usd-fcnr-campaign .faq-section__line {
  width: 100%;
  height: 1px;
  background: var(--color-brand);
}

.usd-fcnr-campaign .faq-section__list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .usd-fcnr-campaign .faq-section__header {
    flex-direction: row;
    align-items: center;
  }

  .usd-fcnr-campaign .faq-section__title {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .usd-fcnr-campaign .faq-section__line {
    flex: 1;
  }
}

.usd-fcnr-campaign .faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.usd-fcnr-campaign .faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1em;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.usd-fcnr-campaign .faq-item__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.usd-fcnr-campaign .faq-item__text {
  flex: 1;
  min-width: 0;
}

.usd-fcnr-campaign .faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.usd-fcnr-campaign .faq-item__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.usd-fcnr-campaign .faq-item__answer p {
  margin: 0;
  padding: 0 37px 24px;
  font-size: 1em;
  line-height: 1.5;
}

.usd-fcnr-campaign .faq-item--open .faq-item__icon {
  transform: scaleY(-1);
}

.usd-fcnr-campaign .faq-item--open .faq-item__answer {
  grid-template-rows: 1fr;
}

@media (prefers-reduced-motion: reduce) {
  .usd-fcnr-campaign .faq-item__answer,
  .usd-fcnr-campaign .faq-item__icon {
    transition: none;
  }
}

/* Accessibility — match Samriddhi campaign (body font + color-blindness wrapper) */
body.font-decrement {
  font-size: 13px !important;
}

body.font-increment {
  font-size: 15px !important;
}

body.font-default {
  font-size: 14px !important;
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness {
  --color-text: #000;
  --color-brand: #595959;
  --color-brand-dark: #333;
  --color-accent: #b1b0b0;
  --color-accent-hover: #8a8a8a;
  --color-error: #4d4d4d;
  --color-section-peach: #f0f0f0;
  --color-section-pale: #f5f5f5;
  --color-icon-bg: #ededed;
  --color-divider: #d7d6d6;
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-section-header__line,
.choice-that-grow-72.usd-fcnr-campaign.color-blindness .apply-form__title {
  color: var(--color-brand);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-benefit-card {
  border-color: var(--color-brand);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-calculator__results-card,
.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-rates__table th {
  background: var(--color-brand);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-calculator__tier-option:has(input:checked),
.choice-that-grow-72.usd-fcnr-campaign.color-blindness .apply-form__submit {
  background: var(--color-accent);
  color: var(--color-text);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-calculator__slider-fill {
  background: var(--color-brand);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-calculator__slider::-webkit-slider-thumb,
.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-calculator__slider::-moz-range-thumb {
  border-color: var(--color-brand);
}

.choice-that-grow-72.usd-fcnr-campaign.color-blindness .fcnr-benefit-card__title {
  color: var(--color-brand);
}
