/* Existing validated forms share the portal's light theme and navigation. */
body.nd-flow {
  --bg: #f7f8fa; --card-bg: #fff; --card: #fff; --border: #f2ebe0;
  --text: #1c1f25; --text-primary: #1c1f25; --text-secondary: #676d78;
  --accent: #4057ff; --primary: #4057ff;
  background: #f7f8fa !important; color: #1c1f25 !important;
  font-family: 'Onest', sans-serif !important; padding-top: 0 !important;
  min-height: 100vh; line-height: 1.6;
}
.nd-flow .nd-header { position: relative; background: #fff; z-index: 20; }
.nd-flow .nd-header-inner { max-width: 1440px; }
.nd-flow .nd-flow-back { padding-top: 0; padding-bottom: 20px; }
.nd-flow .nd-header a { text-decoration: none; }
.nd-flow .nd-brand { color: #1c1f25 !important; }
.nd-flow > main, .nd-flow > .container, .nd-flow > .main-container,
.nd-flow > .content-wrapper { max-width: 1192px; margin-left: auto; margin-right: auto; }
.nd-flow > .container, .nd-flow > .main-container { padding-top: 32px; padding-bottom: 32px; }
.nd-flow h1, .nd-flow h2, .nd-flow h3, .nd-flow h4, .nd-flow h5, .nd-flow h6,
.nd-flow label, .nd-flow .form-label { color: #1c1f25; font-family: 'Onest', sans-serif; }
.nd-flow a { color: #4057ff; }
.nd-flow .card, .nd-flow .main-card, .nd-flow .form-section, .nd-flow .order-card,
.nd-flow .info-card, .nd-flow .section-card, .nd-flow .form-card,
.nd-flow .bg-dark, .nd-flow .bg-dark-700, .nd-flow .bg-dark-800,
.nd-flow .bg-dark-900, .nd-flow .bg-dark-950, .nd-flow .bg-gray-800,
.nd-flow .bg-gray-900 { background: #fff !important; color: #1c1f25 !important; border-color: #f2ebe0 !important; }
.nd-flow .card, .nd-flow .main-card, .nd-flow .form-card { border: 1px solid #f2ebe0; border-radius: 24px; box-shadow: none; }
.nd-flow .card-header, .nd-flow .card-footer, .nd-flow .bg-dark-600,
.nd-flow .bg-gray-700 { background: #f4f6f9 !important; color: #1c1f25 !important; border-color: #f2ebe0 !important; }
.nd-flow .text-white, .nd-flow .text-gray-100, .nd-flow .text-gray-200,
.nd-flow .text-gray-300, .nd-flow .text-light { color: #1c1f25 !important; }
.nd-flow .text-muted, .nd-flow .text-gray-400, .nd-flow .text-gray-500,
.nd-flow .form-text, .nd-flow .subtitle { color: #676d78 !important; }
.nd-flow input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),
.nd-flow select, .nd-flow textarea, .nd-flow .form-control, .nd-flow .form-select,
.nd-flow .select2-selection { background-color: #fff !important; color: #1c1f25 !important;
  border-color: #e1dbd1 !important; border-radius: 12px; font-family: 'Onest', sans-serif; }
.nd-flow input::placeholder, .nd-flow textarea::placeholder { color: #797269 !important; }
.nd-flow input:focus, .nd-flow select:focus, .nd-flow textarea:focus { border-color: #4057ff !important; box-shadow: 0 0 0 3px #4057ff18; }
.nd-flow .btn { border-radius: 12px; font-family: 'Onest', sans-serif; font-weight: 600; padding: 10px 18px; }
.nd-flow .btn-primary, .nd-flow .bg-primary, .nd-flow .bg-primary-500,
.nd-flow .bg-primary-600, .nd-flow .bg-blue-600 { background: #4057ff !important; border-color: #4057ff !important; color: #fff !important; }
.nd-flow .btn-primary *, .nd-flow .bg-primary-500 .text-white, .nd-flow .bg-primary-600 .text-white,
.nd-flow .bg-blue-600 .text-white { color: #fff !important; }
.nd-flow .btn-outline-light, .nd-flow .btn-secondary, .nd-flow .btn-outline-secondary { color: #746e64 !important; background: #fff !important; border-color: #e1dbd1 !important; }
.nd-flow .btn-warning { background: #fff0dd; color: #87551e !important; border-color: #f1d6b3; }
.nd-flow .btn-danger { background: #fff0ec; color: #b74330 !important; border-color: #efccc4; }
.nd-flow .alert-warning { color: #87551e !important; background: #fff5e9 !important; border-color: #f1d6b3 !important; }
.nd-flow .alert-info { color: #5d626d !important; background: #eef5fd !important; border-color: #d3e1f1 !important; }
.nd-flow .alert-success { color: #417259 !important; background: #edf6f0 !important; border-color: #d2e6d9 !important; }
.nd-flow .alert-danger { color: #a74434 !important; background: #fff1ed !important; border-color: #efccc4 !important; }
.nd-flow .modal-content, .nd-flow .modal-header, .nd-flow .modal-footer,
.nd-flow .accordion-item, .nd-flow .accordion-button, .nd-flow .list-group-item,
.nd-flow .dropdown-menu { background: #fff !important; color: #1c1f25 !important; border-color: #f2ebe0 !important; }
.nd-flow .table { --bs-table-bg: #fff; --bs-table-color: #1c1f25; --bs-table-border-color: #f2ebe0; }
.nd-flow [class*='border-dark-'], .nd-flow [class*='border-gray-'] { border-color: #f2ebe0 !important; }
.nd-flow .nd-footer { clear: both; }
@media (max-width: 760px) {
  .nd-flow > .container, .nd-flow > .main-container { padding: 24px 16px; }
  .nd-flow input, .nd-flow select, .nd-flow textarea { font-size: 16px; }
  .nd-flow .nd-account { display: none; }
}
.nd-flow > .fixed.-z-10 { display: none; }
.nd-flow .glass { background: #fff !important; border: 1px solid #f2ebe0 !important; box-shadow: none !important; }
.nd-flow .country-card { background: #fff; border-color: #f2ebe0; }
.nd-flow .bg-indigo-600, .nd-flow .bg-indigo-500 { background: #4057ff !important; color: #fff !important; }
.nd-flow .text-indigo-300, .nd-flow .text-indigo-400 { color: #4057aa !important; }
.nd-flow .text-green-300, .nd-flow .text-green-400 { color: #357454 !important; }
.nd-flow .flatpickr-calendar { background: #fff !important; border-color: #f0e9dc !important; box-shadow: 0 12px 40px #1c1f2520 !important; }
.nd-flow .flatpickr-months .flatpickr-month, .nd-flow .flatpickr-current-month .flatpickr-monthDropdown-months,
.nd-flow .flatpickr-current-month input.cur-year, .nd-flow .flatpickr-day { color: #1c1f25 !important; background: transparent !important; }
.nd-flow .flatpickr-monthDropdown-month, .nd-flow .flatpickr-weekdays { background: #fff !important; }
.nd-flow .flatpickr-day.inRange { background: #eef1ff !important; box-shadow: -5px 0 0 #eef1ff, 5px 0 0 #eef1ff !important; border-color: #eef1ff !important; }
.nd-flow .flatpickr-day.selected, .nd-flow .flatpickr-day.startRange, .nd-flow .flatpickr-day.endRange { background: #4057ff !important; border-color: #4057ff !important; color: #fff !important; }
.nd-flow .flatpickr-day.flatpickr-disabled, .nd-flow .flatpickr-day.prevMonthDay, .nd-flow .flatpickr-day.nextMonthDay { color: #a7abb4 !important; }
.nd-flow .flatpickr-prev-month svg, .nd-flow .flatpickr-next-month svg { fill: #746e64 !important; }
body.nd-flow { display: block !important; height: auto !important; }
.nd-flow [class~='bg-dark-700/50'], .nd-flow [class~='bg-dark-800/50'],
.nd-flow [class~='bg-dark-600/50'] { background: #f7f8fc !important; border-color: #f2ebe0 !important; }
/* Selection is the ring-indigo-500 class; hover utilities must not read as selected. */
.nd-flow .country-card, .nd-flow .city-card { background: #fff !important; border-color: #f2ebe0 !important; --tw-ring-shadow: 0 0 #0000 !important; box-shadow: none !important; }
.nd-flow .country-card:not([disabled]):hover, .nd-flow .city-card:hover { background: #fafbff !important; border-color: #b9c5f5 !important; }
.nd-flow .country-card.ring-indigo-500, .nd-flow .city-card.ring-indigo-500 { background: #f0f3ff !important; border-color: #395afa !important; box-shadow: 0 0 0 3px #e3e9ff !important; }
.nd-flow .country-card[disabled] { background: #f7f8fa !important; opacity: .7; }
.nd-flow .nd-country-flag { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #f5f7fa; font-size: 26px; line-height: 1; }
body.nd-flow { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.nd-flow > main.nd-flow-content { width: 100%; max-width: 1120px; padding: 32px 24px; margin: 0 auto; }
.nd-flow .nd-flow-content > h1 { margin: 0 0 24px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.nd-flow .nd-flow-content form > h2 { margin-top: 32px; margin-bottom: 20px; }
.nd-flow .nd-flow-content .form-group { margin-bottom: 20px; }
.nd-flow .nd-flow-content input[type=submit] { background: #4057ff; color: #fff; border: 0; border-radius: 12px; padding: 12px 24px; }
@media (max-width: 760px) { .nd-flow > main.nd-flow-content { padding: 24px 16px; } }
.nd-flow .order-option-card, .nd-flow .order-option-details, .nd-flow .dates-container,
.nd-flow .applicant-header, .nd-flow .applicant-details { background: #f7f8fc !important; color: #1c1f25; border-color: #f2ebe0; }
.nd-flow .order-option-card .form-check-label, .nd-flow .info-group strong { color: #746e64 !important; }
.nd-flow .fastbot-support-chat-button { color: #fff !important; }

/* Wrapped order pages: one shell width, portal typography and calm surfaces. */
.nd-flow .nd-header-inner { max-width: 1192px; }
.nd-flow footer.nd-footer { background: transparent !important; border: 0 !important; margin-top: 0 !important; }
.nd-flow .nd-footer a { color: #676e7a !important; text-decoration: none; }
.nd-flow .nd-flow-content > .container, .nd-flow .nd-flow-content > .container-fluid { max-width: 100%; padding-left: 0; padding-right: 0; margin-top: 0 !important; }
.nd-flow .nd-flow-legacy h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -1px; line-height: 1.22; }
.nd-flow .nd-flow-legacy h2 { font-size: 24px; font-weight: 600; letter-spacing: -.5px; line-height: 1.3; }
.nd-flow .nd-flow-legacy h3 { font-size: 19px; font-weight: 600; letter-spacing: -.3px; line-height: 1.35; }
.nd-flow .nd-flow-legacy h4 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.nd-flow .nd-flow-legacy h5, .nd-flow .nd-flow-legacy h6 { font-size: 15px; font-weight: 600; line-height: 1.45; }
.nd-flow .nd-flow-content .card { border-color: #edf0f6 !important; border-radius: 23px; overflow: hidden; }
.nd-flow .nd-flow-content .card .card { border-radius: 16px; border-color: #e9ecf3 !important; }
.nd-flow .nd-flow-content .card-header { background: #fff !important; border-bottom: 1px solid #e9ecf3 !important; padding: 22px 28px 18px; }
.nd-flow .nd-flow-content .card-body { padding: 24px 28px; }
.nd-flow .nd-flow-content .card-header i, .nd-flow .nd-flow-content h2 > i, .nd-flow .nd-flow-content h3 > i { color: #8da2f4; font-size: .8em; margin-right: 6px; }
.nd-flow .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 500; border-radius: 11px; box-shadow: none !important; transform: none !important; }
.nd-flow .btn-sm { min-height: 38px; font-size: 12px; padding: 8px 12px; }
.nd-flow .btn-lg { font-size: 14px; padding: 12px 22px; }
.nd-flow .btn-primary, .nd-flow .btn-success { background: #395afa !important; border-color: #395afa !important; color: #fff !important; }
.nd-flow .btn-primary:hover, .nd-flow .btn-success:hover { background: #2c4be5 !important; }
.nd-flow .btn-success *, .nd-flow .btn-primary * { color: #fff !important; }
.nd-flow .btn-light, .nd-flow .btn-outline-primary, .nd-flow .btn-outline-info, .nd-flow .btn-outline-warning,
.nd-flow .btn-outline-success, .nd-flow .btn-outline-dark, .nd-flow .btn-info, .nd-flow .btn-dark {
  background: #fff !important; color: #626772 !important; border: 1px solid #f0e9dc !important; }
.nd-flow .btn-light:hover, .nd-flow .btn-outline-primary:hover, .nd-flow .btn-outline-info:hover, .nd-flow .btn-outline-warning:hover,
.nd-flow .btn-outline-success:hover, .nd-flow .btn-outline-secondary:hover, .nd-flow .btn-secondary:hover { background: #f5f7fc !important; border-color: #ded7cc !important; }
.nd-flow .btn-outline-danger { background: #fff !important; color: #b74330 !important; border: 1px solid #efccc4 !important; }
.nd-flow .btn-warning, .nd-flow .btn-danger { border-width: 1px; border-style: solid; }
.nd-flow .alert { border-radius: 16px; border-width: 1px; border-left-width: 1px !important; padding: 18px 20px; font-size: 14px; line-height: 1.6; }
.nd-flow .alert .alert-heading, .nd-flow .alert h4, .nd-flow .alert h5 { color: inherit; font-size: 16px; }
.nd-flow .alert-secondary, .nd-flow .alert-light, .nd-flow .alert-dark { color: #746e64 !important; background: #f7f8fc !important; border-color: #f2ebe0 !important; }
.nd-flow .badge { border-radius: 7px; font-size: 11px; font-weight: 500; padding: 5px 9px; }
.nd-flow .badge.bg-info, .nd-flow .badge.bg-primary, .nd-flow .status-badge { background: #f0f5fd !important; color: #676d78 !important; }
.nd-flow .badge.bg-success { background: #edf5ef !important; color: #527b63 !important; }
.nd-flow .badge.bg-warning { background: #fff4e9 !important; color: #936741 !important; }
.nd-flow .badge.bg-danger { background: #fff0ec !important; color: #b74330 !important; }
.nd-flow .badge.bg-secondary, .nd-flow .badge.bg-dark { background: #f0f2f7 !important; color: #676e7a !important; }
.nd-flow .order-panel { background: #f7f8fc !important; border: 1px solid #e9ecf3 !important; border-radius: 16px; box-shadow: none !important; }
.nd-flow .order-progress { background: #f4eee3 !important; height: 6px; border-radius: 6px; }
.nd-flow .order-progress .progress-bar.bg-success { background: #6fa588 !important; }
.nd-flow .order-progress .progress-bar.bg-primary, .nd-flow .order-progress .progress-bar.bg-info { background: #395afa !important; }
.nd-flow .order-progress .progress-bar.bg-secondary { background: #d9dce3 !important; }
.nd-flow .order-steps-labels .col { color: #676d78 !important; font-size: 12px; }
.nd-flow .order-callout, .nd-flow .order-option-card, .nd-flow .order-option-details, .nd-flow .dates-container,
.nd-flow .guide-panel, .nd-flow .guide-step-card, .nd-flow .guide-note, .nd-flow .activation-hero, .nd-flow .post-booking-guide {
  border-radius: 16px !important; box-shadow: none !important; border-width: 1px !important; }
.nd-flow .post-booking-guide, .nd-flow .activation-hero, .nd-flow .guide-panel, .nd-flow .guide-step-card { background: #fff !important; border-color: #e9ecf3 !important; }
.nd-flow .post-booking-guide::before { display: none; }
.nd-flow .order-callout { border-left-width: 1px !important; padding: 18px 20px; }
.nd-flow .info-group { background: transparent !important; border: 0 !important; border-bottom: 1px solid #edf0f5 !important; border-radius: 0 !important; margin: 0 !important; padding: 12px 2px !important; }
.nd-flow .info-group:last-child { border-bottom: 0 !important; }
.nd-flow .info-group strong { color: #676d78 !important; font-weight: 400; font-size: 13px; }
.nd-flow .order-accordion .accordion-item { border: 1px solid #e9ecf3 !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 10px; }
.nd-flow .order-accordion .accordion-button { box-shadow: none !important; padding: 16px 18px; font-size: 15px; }
.nd-flow .order-accordion .accordion-button * { font-size: 15px !important; font-weight: 500; letter-spacing: 0; }
.nd-flow .order-accordion .accordion-button i { color: #a0a5ae; font-size: 14px !important; }
.nd-flow .order-accordion .accordion-button:not(.collapsed) { background: #f7f8fc !important; }
.nd-flow .form-check-input:checked { background-color: #395afa; border-color: #395afa; }
.nd-flow .nd-flow-content > form.mb-3:first-child, .nd-flow .nd-flow-content > .container > form.mb-3:first-child { display: flex; justify-content: flex-end; }
.nd-flow .fastbot-support-chat-button { background: #395afa !important; border: 0 !important; box-shadow: 0 8px 24px #395afa33 !important; font: 500 13px/1.5 'Onest', sans-serif; padding: 11px 16px; transform: none !important; }
@media (max-width: 760px) {
  .nd-flow .nd-flow-content .card-header { padding: 18px 18px 14px; }
  .nd-flow .nd-flow-content .card-body { padding: 18px; }
  .nd-flow .nd-flow-legacy h2 { font-size: 21px; }
  .nd-flow .fastbot-support-chat-button { left: auto !important; right: 14px !important; bottom: 14px !important; width: auto !important; }
  .nd-flow .nd-footer { padding-bottom: 76px; }
}
.nd-flow > main.nd-flow-content { max-width: 1192px; padding: 32px 28px; }
@media (min-width: 1440px) { .nd-flow > main.nd-flow-content, .nd-flow .nd-header-inner { max-width: 1280px; } }
@media (max-width: 960px) { .nd-flow > main.nd-flow-content { padding: 28px 22px; } }
@media (max-width: 760px) { .nd-flow > main.nd-flow-content { padding: 24px 18px; } }
@media (max-width: 480px) { .nd-flow > main.nd-flow-content { padding: 20px 14px; } }
@media (max-width: 760px) { .nd-flow .nd-account { display: flex; } }
.nd-flow [data-legal-entity-banner] { background: #f7f8fc !important; border-color: #e9ecf3 !important; box-shadow: none !important; padding: 18px 20px !important; }
.nd-flow [data-legal-entity-banner] > div > div:first-child { background: #eef1ff !important; border-color: #e1e6ff !important; }
.nd-flow [data-legal-entity-banner] a, .nd-flow [data-legal-entity-banner] button[data-legal-entity-open] {
  background: #fff !important; color: #626772 !important; border: 1px solid #f0e9dc !important; box-shadow: none !important;
  font-weight: 500 !important; font-size: 13px !important; min-height: 40px; border-radius: 11px !important; }
.nd-flow [data-legal-entity-banner] a svg path { fill: #8da2f4; stroke: #fff; }
.nd-flow [data-legal-entity-banner] [style*='font-weight: 800'], .nd-flow [data-legal-entity-banner] [style*='font-weight: 700'] { font-weight: 600 !important; }
.nd-flow .nd-flow-content .form-control[type=file] { padding: 0; }

/* Order actions page inside the portal. */
.nd-flow .nd-actions-heading { padding: 0 0 24px; display: block; }
.nd-flow .nd-actions-heading h1 { margin: 0; }
.nd-flow .nd-actions-heading p { color: #676d78; font-size: 14px; margin: 9px 0 0; }
.nd-flow .nd-actions .card { margin-bottom: 20px !important; }
.nd-flow .nd-actions p.nd-row { display: flex; justify-content: space-between; gap: 20px; margin: 0; padding: 12px 2px; border-bottom: 1px solid #edf0f5; font-size: 14px; }
.nd-flow .nd-actions p.nd-row strong { color: #676d78 !important; font-weight: 400; flex-shrink: 0; }
.nd-flow .nd-actions p.nd-row span { text-align: right; font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.nd-flow .nd-actions p.nd-row:last-of-type { border-bottom: 0; }
.nd-flow .nd-actions .card-body > .row > [class*='col-'] > ul, .nd-flow .nd-actions p.nd-row + ul { margin: 4px 0 0; padding-left: 20px; color: #606671; font-size: 14px; }
.nd-flow .nd-actions hr { border-color: #e9ecf3; opacity: 1; }
@media (max-width: 480px) { .nd-flow .nd-actions p.nd-row { flex-direction: column; gap: 3px; } .nd-flow .nd-actions p.nd-row span { text-align: left; } }
.nd-flow .step-circle.bg-green-600 { background: #e3f1e8 !important; color: #3f6b54 !important; }
.nd-flow .step-circle.bg-indigo-600 { background: #395afa !important; color: #fff !important; }

/* Character shared with the portal: pill controls and confident headings. */
.nd-flow .btn { border-radius: 999px; padding: 10px 20px; font-weight: 600; }
.nd-flow .btn-primary, .nd-flow .btn-success { box-shadow: 0 6px 18px #395afa2e !important; }
.nd-flow .badge { border-radius: 999px; padding: 5px 11px; }
.nd-flow .nd-flow-legacy h1, .nd-flow .nd-actions-heading h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: -1.4px; line-height: 1.15; }
.nd-flow .nd-flow-legacy h2, .nd-flow .nd-flow-legacy h3 { font-weight: 700; }
.nd-flow .nd-flow-content .card { box-shadow: 0 1px 2px #2a23120a, 0 10px 28px #2a231208 !important; }
.nd-flow .order-setup h2, .nd-flow .nd-flow-content > .glass h2, .nd-flow main h2.text-2xl, .nd-flow .af-heading h1 { font-weight: 700; letter-spacing: -.8px; }
.nd-flow .nd-country-flag { background: #eaedf3; }
.nd-flow .step-circle.bg-indigo-600 { box-shadow: 0 0 0 5px #e9eeff; }
.nd-flow .fastbot-support-chat-button { border-radius: 999px; }

/* FastBot's own look for wrapped pages. */
body.nd-flow { background: linear-gradient(180deg, #eaf0ff 0, #f2f5fb 220px, #f7f8fa 480px) no-repeat, #f7f8fa !important; }
.nd-flow .nd-header { background: #ffffffd9 !important; backdrop-filter: saturate(1.4) blur(10px); }
.nd-flow .btn, .nd-flow .fastbot-support-chat-button { border-radius: 12px; }
.nd-flow .btn-primary, .nd-flow .btn-success { box-shadow: 0 1px 2px #1c1f2514, 0 4px 12px #395afa26 !important; }
.nd-flow .badge { border-radius: 8px; padding: 4px 9px; }
.nd-flow .nd-flow-legacy h1, .nd-flow .nd-actions-heading h1 { font-size: clamp(28px, 3vw, 36px); font-weight: 650; letter-spacing: -1.2px; }
.nd-flow .order-setup h2, .nd-flow .af-heading h1 { font-weight: 650; letter-spacing: -.8px; }
.nd-flow .nd-country-flag { background: #eef1f6; }
.nd-flow .step-circle.bg-indigo-600 { box-shadow: 0 0 0 5px #dfe7ff; }
