/*
 * Shared SimpleForm renderer primitives.
 * Single-page-only rules in this file are scoped by data-render-mode.
 */


/* =========================================================
   Manual form presentation layer (backward-compatible)
   ========================================================= */
.manual-form-root {
    --mf-section-gap: 1.75rem;
    --mf-section-radius: 12px;
    --mf-section-border: rgba(15, 23, 42, .14);
    --mf-section-soft-bg: rgba(15, 23, 42, .035);
    --mf-choice-gap: .75rem;
}

.manual-form-shell.mf-shell-flat,
.manual-form-shell.mf-shell-transparent {
    border: 0;
    box-shadow: none !important;
}

.manual-form-shell.mf-shell-flat {
    background: #fff;
}

.manual-form-shell.mf-shell-transparent {
    background: transparent;
}

.manual-form-root[data-render-mode="singlepage"] .mf-step + .mf-step,
.manual-form-root[data-render-mode="progressive"] .mf-step + .mf-step {
    margin-top: var(--mf-section-gap);
}

.mf-step-card {
    padding: 1.5rem;
    border: 1px solid var(--mf-section-border);
    border-radius: var(--mf-section-radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.mf-step-bordered {
    padding: 1.5rem;
    border: 1px solid var(--mf-section-border);
    border-radius: var(--mf-section-radius);
    background: transparent;
}

.mf-step-soft {
    padding: 1.5rem;
    border-radius: var(--mf-section-radius);
    background: var(--mf-section-soft-bg);
}

.mf-step-flat {
    background: transparent;
}

.mf-step-title {
    scroll-margin-top: 1rem;
}

.mf-heading {
    margin: 0;
}

.form-divider {
    position: relative;
}

.form-divider.mf-divider-line {
    border-top-style: solid;
    border-top-width: 1px;
}

.form-divider.mf-divider-dashed {
    border-top-style: dashed;
}

.form-divider.mf-divider-dotted {
    border-top-style: dotted;
}

.form-divider.mf-divider-thick {
    border-top-style: solid;
    border-top-width: 3px;
}

.form-divider.mf-divider-space {
    border: 0;
    min-height: 1.5rem;
}

.form-divider.mf-divider-gradient {
    height: 2px;
    border: 0;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: .3;
}

.mf-divider-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 .75rem;
    background: #fff;
    white-space: nowrap;
}

.mf-choice-fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

.mf-choice-legend {
    float: none;
    width: auto;
    font-size: inherit;
}

.mf-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--mf-choice-gap);
}

.mf-choice-vertical {
    flex-direction: column;
    align-items: flex-start;
}

.mf-choice-inline {
    flex-direction: row;
    align-items: center;
}

.mf-choice-grid {
    display: grid;
    grid-template-columns: repeat(var(--mf-choice-columns, 1), minmax(0, 1fr));
    width: 100%;
}

.manual-form-root .mf-choice-group .mf-choice-item,
.manual-form-root .mf-choice-group .mf-choice-item > .form-check-input,
.manual-form-root .mf-choice-group .mf-choice-item > .form-check-label {
    cursor: pointer;
}

.mf-choice-buttons .mf-choice-item,
.mf-choice-cards .mf-choice-item {
    position: relative;
    padding-left: 0;
}

.mf-choice-buttons .form-check-input,
.mf-choice-cards .form-check-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.mf-choice-buttons .form-check-label,
.mf-choice-cards .form-check-label {
    display: block;
    cursor: pointer;
    border: 1px solid var(--mf-section-border);
    border-radius: 8px;
    padding: .65rem 1rem;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.mf-choice-cards .form-check-label {
    min-height: 100%;
    padding: 1rem;
}

.mf-choice-buttons .form-check-input:checked + .form-check-label,
.mf-choice-cards .form-check-input:checked + .form-check-label {
    border-color: var(--bs-primary, #0d6efd);
    background: rgba(13, 110, 253, .06);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .12);
}

.mf-no-progress::before,
.mf-no-progress::after {
    display: none !important;
}

.mf-condition-hidden,
.mf-condition-pending {
    display: none !important;
}

.mf-conditional-reveal {
    animation: mfConditionalReveal .32s ease both;
}

@keyframes mfConditionalReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Schema-driven manual form primitives
   ========================================================= */
.manual-form-root {
    --mf-control-height: 44px;
    --mf-control-radius: 3px;
    --mf-control-border: rgba(0, 0, 0, .25);
    --mf-control-bg: #fff;
    --mf-control-text: #1f2937;
    --mf-label-color: #111827;
    --mf-help-color: #6b7280;
    --mf-error-color: #d63637;
    --mf-field-gap: 1rem;
    --mf-row-gap: 1.25rem;
    --mf-label-gap: .45rem;
}

.manual-form-root .wizard-step > .row {
    --bs-gutter-y: var(--mf-row-gap);
    align-items: flex-start;
}

.manual-form-root .mf-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 0;
}

.manual-form-root .mf-control {
    position: relative;
    width: 100%;
    min-width: 0;
}

.manual-form-root .mf-label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .25rem;
    margin: 0 0 var(--mf-label-gap);
    padding: 0;
    color: var(--mf-label-color);
    background: transparent;
    font-size: inherit;
    font-weight: 600;
    line-height: 1.35;
}

.manual-form-root .mf-required {
    color: var(--mf-error-color);
    font-weight: 400;
    line-height: 1;
}

.manual-form-root .mf-label-spacer {
    height: calc(1.35em + var(--mf-label-gap));
    flex: 0 0 auto;
}

.manual-form-root .mf-field.no-label:not(.reserve-label-space) {
    padding-top: 0;
}

.manual-form-root .mf-control input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.manual-form-root .mf-control select {
    width: 100%;
    min-width: 0;
    min-height: var(--mf-control-height);
    height: var(--mf-control-height);
    box-sizing: border-box;
    padding: .5rem .75rem;
    border-color: var(--mf-control-border);
    border-radius: var(--mf-control-radius);
    background-color: var(--mf-control-bg);
    color: var(--mf-control-text);
}

.manual-form-root .mf-control textarea {
    width: 100%;
    min-width: 0;
    min-height: 120px;
    height: auto;
    box-sizing: border-box;
    padding: .65rem .75rem;
    border-color: var(--mf-control-border);
    border-radius: var(--mf-control-radius);
    background-color: var(--mf-control-bg);
    color: var(--mf-control-text);
    resize: vertical;
}

.manual-form-root .mf-control input:focus,
.manual-form-root .mf-control select:focus,
.manual-form-root .mf-control textarea:focus {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.manual-form-root .field-help {
    margin-top: .35rem;
    color: var(--mf-help-color);
}

.manual-form-root .invalid-feedback {
    color: var(--mf-error-color);
}

.manual-form-root .mf-choice-fieldset,
.manual-form-root .mf-choice-group {
    min-width: 0;
}

.manual-form-root .mf-choice-legend {
    width: 100%;
    margin-bottom: var(--mf-label-gap);
}

.manual-form-root .select2-container {
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.manual-form-root .select2-container--default .select2-selection--single {
    height: var(--mf-control-height);
    min-height: var(--mf-control-height);
    padding: 0;
    border: 1px solid var(--mf-control-border);
    border-radius: var(--mf-control-radius);
    background: var(--mf-control-bg);
}

.manual-form-root .select2-container--default .select2-selection--single .select2-selection__rendered {
    overflow: hidden;
    line-height: calc(var(--mf-control-height) - 2px);
    padding-left: 12px;
    padding-right: 36px;
    color: var(--mf-control-text);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-form-root .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0 !important;
    right: 6px;
    height: calc(var(--mf-control-height) - 2px);
    transform: none;
}

.manual-form-root .select2-container--default .select2-selection--multiple {
    width: 100%;
    min-height: var(--mf-control-height);
    padding: 3px 8px !important;
    border: 1px solid var(--mf-control-border);
    border-radius: var(--mf-control-radius);
    background: var(--mf-control-bg);
}

.manual-form-root .select2-container--default.select2-container--focus .select2-selection,
.manual-form-root .select2-container--default.select2-container--open .select2-selection {
    border-color: var(--bs-primary, #0d6efd);
    box-shadow: 0 0 0 .2rem rgba(13, 110, 253, .15);
}

.manual-form-root .select2-container--default.select2-container--disabled .select2-selection {
    background-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.manual-form-root .select2-selection.is-invalid,
.manual-form-root .select2-container [aria-invalid="true"] {
    border-color: var(--mf-error-color) !important;
}

.manual-form-root .iti {
    display: block;
    width: 100%;
    min-width: 0;
}

.manual-form-root .iti input[type="tel"] {
    width: 100%;
    height: var(--mf-control-height);
    min-height: var(--mf-control-height);
}

.manual-form-root .iti--allow-dropdown input[type="tel"],
.manual-form-root .iti--separate-dial-code input[type="tel"] {
    padding-left: 50px !important;
}

.manual-form-root .iti__country-container {
    z-index: 3;
}

.manual-form-root .iti__selected-country {
    height: 100%;
}

.manual-form-root .flatpickr-wrapper {
    display: block;
    width: 100%;
}

.manual-form-root .mf-control .flatpickr-input,
.manual-form-root .mf-control .flatpickr-input.form-control {
    width: 100%;
    height: var(--mf-control-height);
    min-height: var(--mf-control-height);
}

/* Keep remote site-wide input/select rules from breaking Flatpickr's month header. */
body.simple-form-single-page .flatpickr-current-month .flatpickr-monthDropdown-months {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: -1px 0 0 !important;
    padding: 0 0 0 .5ch !important;
    line-height: inherit !important;
    vertical-align: initial !important;
}

body.simple-form-single-page .flatpickr-current-month .numInputWrapper {
    display: inline-block !important;
    width: 6ch !important;
    min-width: 6ch !important;
    height: auto !important;
    min-height: 0 !important;
    vertical-align: initial !important;
}

body.simple-form-single-page .flatpickr-current-month input.cur-year {
    display: inline-block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 0 0 .5ch !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: inherit !important;
    font-weight: 300 !important;
    line-height: inherit !important;
    vertical-align: initial !important;
}

.manual-form-root .mf-content {
    margin-top: 0;
    margin-bottom: 0;
}

.manual-form-root .mf-content + .mf-field.no-label:is(.mf-field--radio, .mf-field--checkbox) {
    margin-top: .5rem;
}

@media (max-width: 767.98px) {
    .manual-form-root .mf-field.reserve-label-space .mf-label-spacer {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .mf-choice-grid {
        grid-template-columns: 1fr;
    }

    .mf-step-card,
    .mf-step-bordered,
    .mf-step-soft {
        padding: 1rem;
    }
}


/* Simple form form skin
   Scoped to data-render-mode="singlepage" so the shared form core and other markets are unchanged. */

.manual-form-root[data-render-mode="singlepage"] {
    --simple-form-primary: #066aab;
    --simple-form-primary-hover: #055b93;
    --simple-form-field-bg: #ffffff;
    --simple-form-field-border: rgba(0, 0, 0, 0.25);
    --simple-form-field-text: rgba(0, 0, 0, 0.70);
    --simple-form-label: rgba(0, 0, 0, 0.85);
    --simple-form-sublabel: rgba(0, 0, 0, 0.55);
    --simple-form-error: #d63637;
    --simple-form-divider: #d8d8d8;
    --simple-form-radius: 3px;
    --simple-form-border: var(--simple-form-field-border);
    --simple-form-text: var(--simple-form-label);
    --mf-control-border: var(--simple-form-field-border);
    --mf-control-bg: var(--simple-form-field-bg);
    --mf-control-text: var(--simple-form-field-text);
    --mf-label-color: var(--simple-form-label);
    --mf-help-color: var(--simple-form-sublabel);
    --mf-error-color: var(--simple-form-error);
    --mf-control-radius: var(--simple-form-radius);
}

.manual-form-root[data-render-mode="singlepage"] {
    max-width: 1140px;
    color: var(--simple-form-label);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.manual-form-root[data-render-mode="singlepage"] .headw {
    display: block !important;
}

.manual-form-root[data-render-mode="singlepage"] .headw > h2 {
    color: #1f2933;
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.22;
    margin: 0 !important;
}

.manual-form-root[data-render-mode="singlepage"] .headw > h2 > div {
    color: #4a5560;
    font-size: 15px !important;
    font-weight: 400;
    line-height: 1.55;
    margin-top: 15px !important;
}

.manual-form-root[data-render-mode="singlepage"] .manual-form-shell,
.manual-form-root[data-render-mode="singlepage"] .wizard-card,
.manual-form-root[data-render-mode="singlepage"] .mf-step,
.manual-form-root[data-render-mode="singlepage"] .mf-step-flat {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.manual-form-root[data-render-mode="singlepage"] .chevron-steps,
.manual-form-root[data-render-mode="singlepage"] .mf-step-title {
    display: none !important;
}

.manual-form-root[data-render-mode="singlepage"] #manualForm,
.manual-form-root[data-render-mode="singlepage"] .simple-form-step {
    width: 100%;
}

.manual-form-root[data-render-mode="singlepage"] .wizard-step > .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 22px;
}

.manual-form-root[data-render-mode="singlepage"] [data-field-container] {
    min-width: 0;
    margin-bottom: 0 !important;
}

.manual-form-root[data-render-mode="singlepage"] .mf-label {
    color: var(--simple-form-label) !important;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 7px;
}

.manual-form-root[data-render-mode="singlepage"] .mf-choice-legend,
.manual-form-root[data-render-mode="singlepage"] .form-check-label {
    color: var(--simple-form-label);
    line-height: 1.35;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-required,
.manual-form-root[data-render-mode="singlepage"] .vk-required {
    color: var(--simple-form-error);
}

/* Inputs */
.manual-form-root[data-render-mode="singlepage"] .mf-control .form-control,
.manual-form-root[data-render-mode="singlepage"] .mf-control .form-select {
    font-size: 16px;
}

.manual-form-root[data-render-mode="singlepage"] .form-control::placeholder,
.manual-form-root[data-render-mode="singlepage"] .form-select:invalid {
    color: rgba(0, 0, 0, 0.48);
    opacity: 1;
}

.manual-form-root[data-render-mode="singlepage"] .form-control:focus,
.manual-form-root[data-render-mode="singlepage"] .form-select:focus,
.manual-form-root[data-render-mode="singlepage"] .select2-container--open .select2-selection,
.manual-form-root[data-render-mode="singlepage"] .select2-container--focus .select2-selection {
    border-color: var(--simple-form-primary) !important;
    box-shadow: 0 0 0 1px var(--simple-form-primary) !important;
    outline: 0;
}

.manual-form-root[data-render-mode="singlepage"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--simple-form-field-text);
}

/* Help, sublabels, validation */
.manual-form-root[data-render-mode="singlepage"] .field-help {
    color: var(--simple-form-sublabel);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 6px !important;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-composite-input .field-help,
.manual-form-root[data-render-mode="singlepage"] [data-field-id="1122"] .field-help,
.manual-form-root[data-render-mode="singlepage"] [data-field-id="1123"] .field-help,
.manual-form-root[data-render-mode="singlepage"] [data-field-id="1124"] .field-help,
.manual-form-root[data-render-mode="singlepage"] [data-field-id="1125"] .field-help {
    font-size: 14px;
}

.manual-form-root[data-render-mode="singlepage"] .invalid-feedback,
.manual-form-root[data-render-mode="singlepage"] .text-danger {
    color: var(--simple-form-error) !important;
}

.manual-form-root[data-render-mode="singlepage"] .form-control.is-invalid,
.manual-form-root[data-render-mode="singlepage"] .form-select.is-invalid,
.manual-form-root[data-render-mode="singlepage"] .form-check-input.is-invalid,
.manual-form-root[data-render-mode="singlepage"] [aria-invalid="true"] {
    border-color: var(--simple-form-error) !important;
}

/* Radio and checkbox controls */
.manual-form-root[data-render-mode="singlepage"] .radio-yn,
.manual-form-root[data-render-mode="singlepage"] .mf-choice-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    border: 0 !important;
    padding: 0 !important;
}

.manual-form-root[data-render-mode="singlepage"] .mf-choice-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.manual-form-root[data-render-mode="singlepage"] .form-check {
    min-height: 22px;
    margin: 0;
    padding-left: 1.65rem;
}

.manual-form-root[data-render-mode="singlepage"] .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.18em;
    border: 1px solid rgba(0, 0, 0, 0.38);
    box-shadow: none;
}

.manual-form-root[data-render-mode="singlepage"] .form-check-input:checked {
    background-color: var(--simple-form-primary);
    border-color: var(--simple-form-primary);
}

.manual-form-root[data-render-mode="singlepage"] .form-check-input:focus {
    border-color: var(--simple-form-primary);
    box-shadow: 0 0 0 2px rgba(6, 106, 171, 0.18);
}

.manual-form-root[data-render-mode="singlepage"] .form-check-label {
    color: var(--simple-form-label);
    font-size: 15px;
    line-height: 1.45;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-security-checkboxes .mf-choice-legend {
    margin-bottom: 11px !important;
}

/* Section titles and dividers */
.manual-form-root[data-render-mode="singlepage"] .simple-form-section-title,
.manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading,
.manual-form-root[data-render-mode="singlepage"] .simple-form-composite-heading {
    margin-top: 4px;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-section-title h3,
.manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading h3 {
    color: #1f2933;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-composite-label,
.manual-form-root[data-render-mode="singlepage"] .simple-form-confirmation-question {
    color: var(--simple-form-label);
    font-size: 16px;
    line-height: 1.45;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-composite-heading {
    margin-bottom: -11px !important;
}

.manual-form-root[data-render-mode="singlepage"] .form-divider,
.manual-form-root[data-render-mode="singlepage"] .simple-form-section-divider .form-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    margin: 12px 0 4px;
    border: 0 !important;
    background: var(--simple-form-divider);
}

.manual-form-root[data-render-mode="singlepage"] pre.heading-4 {
    margin: 0;
    padding: 14px 0 0 !important;
    overflow: visible;
    white-space: pre-wrap;
    color: var(--simple-form-label);
    background: transparent;
    border: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.45;
}

.manual-form-root[data-render-mode="singlepage"] p {
    margin-top: 0;
    margin-bottom: 12px;
}

.manual-form-root[data-render-mode="singlepage"] ul {
    margin: 8px 0 15px;
    padding-left: 24px;
}

.manual-form-root[data-render-mode="singlepage"] li {
    margin-bottom: 4px;
}

.manual-form-root[data-render-mode="singlepage"] a {
    color: var(--simple-form-primary);
    text-decoration: underline;
}

/* Passport guidance */
.manual-form-root[data-render-mode="singlepage"] .simple-form-passport-copy-column {
    display: flex;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-passport-guide {
    width: 100%;
    color: var(--simple-form-label);
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-passport-guide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 14px;
    border-radius: 0;
}

/* Personal photo guidance images */
.manual-form-root[data-render-mode="singlepage"] [data-field-id="38"] img {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 12px 0 18px;
}

.manual-form-root[data-render-mode="singlepage"] [data-field-id="38"] h4 {
    margin: 0 0 10px;
    color: #1f2933;
    font-size: 20px;
    line-height: 1.35;
}

/* Generic simple-form upload drop zone */
.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-field > .mf-label {
    display: block;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px dashed rgba(0, 0, 0, 0.34);
    border-radius: var(--simple-form-radius);
    background: #fff;
    color: var(--simple-form-label);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone:hover,
.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone:focus,
.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-dragover {
    border-color: var(--simple-form-primary);
    background: rgba(6, 106, 171, 0.035);
    outline: 0;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-invalid {
    border-color: var(--simple-form-error);
    background: rgba(214, 54, 55, 0.025);
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-prompt {
    font-size: 14px;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-choose {
    appearance: none;
    border: 0;
    padding: 0;
    color: var(--simple-form-primary);
    background: transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-upload-filename {
    max-width: 100%;
    overflow: hidden;
    color: var(--simple-form-sublabel);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-native-file {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Character counters */
.manual-form-root[data-render-mode="singlepage"] .simple-form-character-counter {
    margin-top: 3px;
    color: var(--simple-form-sublabel);
    font-size: 13px;
    text-align: right;
}

/* Fee disclosure */
.manual-form-root[data-render-mode="singlepage"] .vk-fee-explainer {
    overflow: hidden;
    border: 1px solid var(--simple-form-field-border);
    border-radius: var(--simple-form-radius);
    background: #fff;
}

.manual-form-root[data-render-mode="singlepage"] .vk-fee-explainer > summary {
    padding: 13px 15px;
    color: var(--simple-form-label);
    font-weight: 600;
    cursor: pointer;
}

.manual-form-root[data-render-mode="singlepage"] .vk-fee-content {
    padding: 0 15px 14px;
    border-top: 1px solid #e4e4e4;
}

.manual-form-root[data-render-mode="singlepage"] .vk-fee-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid #ececec;
}

.manual-form-root[data-render-mode="singlepage"] .vk-fee-total {
    color: #1f2933;
    font-weight: 700;
}

.manual-form-root[data-render-mode="singlepage"] .vk-fee-note {
    margin: 12px 0 0;
    color: var(--simple-form-sublabel);
    font-size: 13px;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-payment-single {
    color: var(--simple-form-label);
    line-height: 1.6;
}

/* Billing and card fields */
.manual-form-root[data-render-mode="singlepage"] .simple-form-billing-address-heading .mf-label {
    font-size: 18px !important;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-card-exp-month {
    position: relative;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-card-exp-month::after {
    content: "/";
    position: absolute;
    right: -17px;
    bottom: 8px;
    color: var(--simple-form-sublabel);
    font-size: 20px;
    line-height: 1;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-card-logos-wrap {
    margin-top: -6px !important;
}

.manual-form-root[data-render-mode="singlepage"] .simple-form-card-logos {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
}

/* Submit */
.manual-form-root[data-render-mode="singlepage"] .mf-form-actions {
    margin-top: 28px !important;
    justify-content: flex-start !important;
}

.manual-form-root[data-render-mode="singlepage"] #btnSubmit {
    min-width: 108px;
    min-height: 43px;
    padding: 9px 22px;
    border: 0 !important;
    border-radius: var(--simple-form-radius) !important;
    background: var(--simple-form-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 600;
}

.manual-form-root[data-render-mode="singlepage"] #btnSubmit:hover,
.manual-form-root[data-render-mode="singlepage"] #btnSubmit:focus {
    background: var(--simple-form-primary-hover) !important;
}

.manual-form-root[data-render-mode="singlepage"] #btnSubmit:disabled {
    opacity: .68;
}

/* Conditional reveal stays subtle and does not reorder the DOM. */
.manual-form-root[data-render-mode="singlepage"].simple-form-ready [data-field-container].simple-form-revealed {
    animation: simple-form-reveal .18s ease-out both;
}

@keyframes simple-form-reveal {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {
    .manual-form-root[data-render-mode="singlepage"] {
        padding-right: 16px;
        padding-left: 16px;
    }

    .manual-form-root[data-render-mode="singlepage"] .wizard-step > .row {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 20px;
    }

    .manual-form-root[data-render-mode="singlepage"] .headw > h2 {
        font-size: 27px;
    }

    .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title h3,
    .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading h3 {
        font-size: 22px;
    }

    .manual-form-root[data-render-mode="singlepage"] .simple-form-card-exp-month::after {
        display: none;
    }

}


/* =========================================================
   Simple form dedicated page layout
   Scoped to this page only. Wizard views do not load this file.
   ========================================================= */
html,
body.simple-form-single-page {
    min-height: 100%;
}

body.simple-form-single-page {
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

body.simple-form-single-page *,
body.simple-form-single-page *::before,
body.simple-form-single-page *::after {
    box-sizing: border-box;
}

body.simple-form-single-page .simple-form-page-header,
body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
    width: min(1120px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

body.simple-form-single-page .simple-form-page-header {
    margin-top: 30px;
}

body.simple-form-single-page .simple-form-page-heading-content h1 {
    margin: 0;
    color: #171f27;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

body.simple-form-single-page .simple-form-page-heading-content p {
    margin: 8px 0 0;
    color: #3f4a54;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
    max-width: 1120px !important;
    margin-top: 34px;
    margin-bottom: 48px;
    padding: 0 !important;
    color: #1f2933;
    font-size: 14px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .manual-form-shell,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .wizard-card,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-step,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-step-flat {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #manualForm {
    width: 100%;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .wizard-step > .row {
    --bs-gutter-x: 22px;
    --bs-gutter-y: 22px;
    align-items: flex-start;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] [data-field-container] {
    min-width: 0;
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] pre.heading-4 {
    margin: 0;
    padding: 4px 0 2px !important;
    overflow: visible;
    border: 0;
    background: transparent;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    white-space: pre-wrap;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-legend,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-composite-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-confirmation-question {
    margin: 0 0 6px !important;
    color: #20272e !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.4;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-required,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-required {
    color: #d63637;
    font-size: inherit;
    font-weight: 400;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-label-spacer {
    height: 24px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control select,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control textarea,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control .form-control,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control .form-select,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-control,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-select {
    min-height: 40px !important;
    height: 40px;
    padding: 8px 10px !important;
    border: 1px solid #c8cdd2 !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    color: #26313a !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control textarea.form-control {
    min-height: 104px !important;
    height: auto;
    resize: vertical;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-control::placeholder,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-select::placeholder {
    color: #6f7880;
    opacity: 1;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-control:focus,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-select:focus,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container--focus .select2-selection,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container--open .select2-selection {
    border-color: #6d9fc1 !important;
    box-shadow: 0 0 0 2px rgba(6, 106, 171, .10) !important;
    outline: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container {
    width: 100% !important;
    font-size: 14px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container--default .select2-selection--single {
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid #c8cdd2 !important;
    border-radius: 2px !important;
    background: #fff !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    height: 38px;
    padding-right: 34px;
    padding-left: 10px;
    color: #26313a;
    font-size: 14px;
    line-height: 38px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 32px;
    height: 38px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .field-help {
    margin-top: 4px !important;
    color: #68727b;
    font-size: 12px;
    line-height: 1.4;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .invalid-feedback,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .text-danger {
    margin-top: 3px;
    color: #d63637 !important;
    font-size: 12px;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-check-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-item .form-check-label {
    color: #20272e;
    font-size: 13px;
    line-height: 1.4;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-color: #aeb6bd;
    box-shadow: none;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .radio-yn,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-group {
    gap: 14px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title h3,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading h3 {
    margin: 0;
    color: #1c252d;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] p,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] li {
    font-size: 13px;
    line-height: 1.5;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-passport-guide img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 10px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] [data-field-id="38"] img {
    width: 210px;
    max-width: 100%;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone {
    min-height: 82px;
    padding: 14px 16px;
    border: 1px dashed #aeb6bd;
    border-radius: 2px;
    background: #fff;
    font-size: 13px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-divider,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-divider .form-divider {
    width: 100%;
    height: 1px;
    min-height: 1px;
    margin: 8px 0 2px;
    border: 0 !important;
    background: #d6dade;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-direct-payment {
    width: 100%;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid #d6dade;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-grid {
    display: block !important;
    width: 100%;
    margin: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card {
    display: block !important;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-fee-block {
    margin-bottom: 30px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-section-title {
    display: block;
    float: none;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    color: #2c3338;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-fee-value {
    margin: 0;
    color: #2c3338;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"][data-form-key="UK"] .simple-form-fee-value {
    font-size: 16px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-fee-html {
    margin-top: 12px;
    color: #4b5563;
    font-size: 13px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-billing-fieldset {
    margin-bottom: 34px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-card-fieldset {
    margin-top: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-sublabel {
    display: block;
    margin-top: 5px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-secure-payment-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-secure-payment-heading .simple-form-payment-section-title {
    margin-bottom: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-logos {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-logos img {
    width: 44px;
    height: 27px;
    padding: 3px;
    border: 1px solid #d7dce0;
    border-radius: 3px;
    background: #fff;
    object-fit: contain;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-label {
    margin-bottom: 5px;
    color: #20272e;
    font-size: 13px;
    font-weight: 600;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-control,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-select {
    min-height: 42px;
    border-color: #b8bec4;
    border-radius: 2px;
    box-shadow: none;
    font-size: 13px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-control:focus,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-card .form-select:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 18px;
    padding: 10px 11px;
    border-radius: 3px;
    background: #f2f7f4;
    color: #315d44;
    font-size: 11px;
    line-height: 1.4;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-derived-field {
    display: none !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-form-actions {
    display: flex;
    justify-content: flex-start !important;
    margin-top: 24px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #btnSubmit {
    width: auto !important;
    min-width: 86px;
    min-height: 40px;
    padding: 8px 18px;
    border: 0 !important;
    border-radius: 3px !important;
    background: #066aab !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #btnSubmit:hover,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #btnSubmit:focus {
    background: #055b93 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .d-none,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-condition-hidden,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-condition-pending {
    display: none !important;
}

/* Keep the simple-form page free of injected site preloaders. */
body.simple-form-single-page .preloader,
body.simple-form-single-page .page-loader,
body.simple-form-single-page .site-loader,
body.simple-form-single-page .loading-screen,
body.simple-form-single-page #preloader,
body.simple-form-single-page #page-loader,
body.simple-form-single-page #site-loader,
body.simple-form-single-page [class*="alvavisa"][class*="load" i] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 991.98px) {
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767.98px) {
    body.simple-form-single-page .simple-form-page-header,
    body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
        width: calc(100% - 28px);
    }

    body.simple-form-single-page .simple-form-page-heading-content h1 {
        font-size: 23px;
    }

    body.simple-form-single-page .simple-form-page-heading-content p {
        font-size: 13px;
    }

    body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
        margin-top: 26px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .wizard-step > .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 18px;
        margin-right: 0;
        margin-left: 0;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .wizard-step > .row > [class*="col-"] {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-label-spacer {
        display: none;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-secure-payment-heading {
        flex-direction: column;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-section-title,
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-fee-value {
        font-size: 16px;
    }
}


.simple-form-passport-guide img,
.manual-form-root.simple-form [data-field-id="38"] img {
    display: block;
    max-width: 100%;
    height: auto;
}

.manual-form-root.simple-form [data-field-id="38"] img {
    width: 300px;
}



/* Simple form final spacing and controls */
.manual-form-root[data-render-mode="singlepage"] h3 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.manual-form-root .iti--allow-dropdown input[type="tel"],
.manual-form-root .iti--separate-dial-code input[type="tel"] {
    padding-left: 50px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #btnSubmit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    min-height: 42px;
    padding: 10px 26px;
    border-radius: 4px !important;
    cursor: pointer;
    transition: background-color .15s ease, transform .15s ease;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] #btnSubmit:active {
    transform: translateY(1px);
}

/* Simple form AJAX upload with drag and drop */
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-field > .mf-label {
    font-size: 16px !important;
    line-height: 1.35 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 168px;
    padding: 22px;
    overflow: hidden;
    border: 1px dashed #d1d5d9;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    outline: 0;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone:hover,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone:focus-visible,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-dragover {
    border-color: #2f75b5;
    background: #fbfdff;
    box-shadow: 0 0 0 2px rgba(47, 117, 181, .10);
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-uploading {
    border: 2px solid #2f75b5;
    background: #fff;
    cursor: default;
    box-shadow: none;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.has-file {
    min-height: 182px;
    cursor: default;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-invalid {
    border-color: #d63638;
    background: #fff8f8;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-native-file {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone [hidden] {
    display: none !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
    text-align: center;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a4a7aa;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-icon {
    font-size: 32px !important;
    line-height: 1;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-prompt {
    color: #70757a;
    font-size: 14px !important;
    line-height: 1.5;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-choose {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    color: #5f6368;
    background: transparent;
    font: inherit;
    line-height: inherit;
    text-decoration: underline;
    cursor: pointer;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-choose:hover,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-choose:focus {
    color: #2f75b5;
    outline: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-state {
    position: relative;
    width: 100%;
    min-height: 132px;
    padding: 8px 0 28px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-state::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: #eeeeee;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-file {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 78px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-title {
    overflow: hidden;
    color: #4f5357;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress {
    width: 100%;
    height: 7px;
    margin-top: 11px;
    overflow: hidden;
    background: #e5e5e5;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #9c9c9c;
    transition: width .15s linear;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-percent {
    position: absolute;
    right: 0;
    bottom: 12px;
    color: #85898d;
    font-size: 12px;
    line-height: 1;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 132px;
    padding: 0px;
    cursor: default;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 1px;
    background: #eeeeee;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    overflow: hidden;
    border: 1px solid #d9dcdf;
    background: #f7f7f7;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-preview.is-document {
    color: #b32d2e;
    font-size: 32px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 2px;
    text-align: left;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-file-size,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-size {
    color: #54585c;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.35;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-name {
    overflow: hidden;
    color: #4f5357;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-remove,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    color: #a5a8ab;
    background: transparent;
    font-size: 26px !important;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-remove:hover,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-remove:focus,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-cancel:hover,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-cancel:focus {
    color: #d63638;
    outline: 0;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-remove:disabled,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone.is-removing .simple-form-upload-file-card {
    opacity: .55;
    cursor: wait;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-error {
    margin-top: 7px;
    color: #b32d2e;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-dropzone {
        min-height: 146px;
        padding: 18px 14px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-file,
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-card {
        grid-template-columns: 58px minmax(0, 1fr) 30px;
        gap: 10px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-preview {
        width: 56px;
        height: 56px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-prompt,
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-name,
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-title {
        font-size: 14px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-remove,
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-cancel {
        width: 30px;
        height: 30px;
        font-size: 28px;
    }
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p.p1:first-child,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p.by18:first-child {
    margin-top: 16px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p.p1 {
    margin-bottom: 8px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .iti input.form-control.iti__tel-input,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .iti--allow-dropdown input[type="tel"],
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .iti--separate-dial-code input[type="tel"] {
    padding-left: 50px !important;
    direction: ltr !important;
    text-align: left !important;
}


/* =========================================================
   Simple form typography and vertical rhythm normalization
   ========================================================= */
body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
    --sf-font-size: 14px;
    --sf-label-size: 14px;
    --sf-section-title-size: 20px;
    --sf-line-height: 1.5;
    --sf-field-gap: 20px;
    --sf-section-gap: 32px;
    --sf-label-gap: 7px;
    font-size: var(--sf-font-size) !important;
    line-height: var(--sf-line-height) !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .wizard-step > .row {
    --bs-gutter-x: 22px;
    --bs-gutter-y: var(--sf-field-gap);
    align-items: flex-start;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] [data-field-container] {
    font-size: var(--sf-font-size);
    line-height: var(--sf-line-height);
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-legend,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-composite-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-confirmation-question {
    margin: 0 0 var(--sf-label-gap) !important;
    font-size: var(--sf-label-size) !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content li,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content strong,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-check-label {
    font-size: var(--sf-font-size) !important;
    line-height: var(--sf-line-height) !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p {
    margin: 0 0 8px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content p:last-child {
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content ul,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content ol {
    margin: 8px 0 0 !important;
    padding-left: 24px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content li {
    margin: 0 0 4px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content li:last-child {
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title h3,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading h3,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] [data-field-id="38"] h4 {
    margin: 0 !important;
    color: #1c252d !important;
    font-size: var(--sf-section-title-size) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-payment-heading {
    margin-top: var(--sf-section-gap) !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-divider {
    margin-top: var(--sf-section-gap) !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-divider + .simple-form-section-title {
    margin-top: 14px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-divider,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-divider .form-divider {
    margin: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title + .mf-field,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-section-title + [data-field-container] {
    margin-top: 16px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content + .mf-field--radio.no-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-content + .mf-field--checkbox.no-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-confirmation-question + .mf-field--checkbox {
    margin-top: 8px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-group,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .radio-yn {
    gap: 8px 24px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-choice-vertical {
    gap: 8px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-check {
    min-height: 20px;
    margin: 0 !important;
    padding-left: 1.55rem;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .form-check-input {
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .field-help {
    margin-top: 5px !important;
    color: #68727b;
    font-size: 13px !important;
    font-weight: 400;
    line-height: 1.45 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control select,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control textarea,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control .form-control,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-control .form-select {
    font-size: var(--sf-font-size) !important;
    line-height: 1.4 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] pre.heading-4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: var(--sf-font-size) !important;
    line-height: var(--sf-line-height) !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-composite-heading {
    margin-top: var(--sf-field-gap) !important;
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-field > .mf-label,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-prompt,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-file-name,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-upload-progress-title {
    font-size: var(--sf-font-size) !important;
}

@media (max-width: 767.98px) {
    body.simple-form-single-page .simple-form-page-form.manual-form-root[data-render-mode="singlepage"] {
        --sf-section-title-size: 18px;
        --sf-field-gap: 18px;
        --sf-section-gap: 28px;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .mf-label-spacer {
        display: none;
    }
}

/* =========================================================
   Simple form final alignment and personal photo guide
   ========================================================= */
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-composite-heading .simple-form-composite-label {
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-email-input,
body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-email-confirm-input {
    margin-top: 8px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-field {
    width: 100%;
    margin-top: 24px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide {
    width: 100%;
    max-width: 920px;
    color: #1c252d;
    font-size: var(--sf-font-size) !important;
    line-height: 1.55 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-title {
    margin: 0 0 10px !important;
    color: #1c252d !important;
    font-size: var(--sf-section-title-size) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide p {
    margin: 0 0 10px !important;
    font-size: var(--sf-font-size) !important;
    line-height: 1.55 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-lead {
    margin-bottom: 14px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-heading {
    margin-top: 16px !important;
    margin-bottom: 6px !important;
    font-weight: 600;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-list {
    margin: 0 0 14px !important;
    padding-left: 22px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-list li {
    margin: 0 0 5px !important;
    font-size: var(--sf-font-size) !important;
    line-height: 1.5 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-list li:last-child {
    margin-bottom: 0 !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-image {
    display: block;
    width: 300px !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 10px 0 18px !important;
}

body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide-field + .simple-form-personal-photo-upload {
    margin-top: 2px !important;
}

@media (max-width: 767.98px) {
    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-email-input {
        margin-top: 8px !important;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-email-confirm-input {
        margin-top: 18px !important;
    }

    body.simple-form-single-page .manual-form-root[data-render-mode="singlepage"] .simple-form-photo-guide {
        max-width: 100%;
    }
}

