.form-page {
    background: #eef1f4;
}

.payment-main,
.success-main {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.payment-main {
    max-width: 1080px;
}

.payment-card {
    width: 100%;
    background: var(--background-white);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 10px 36px rgba(26, 32, 44, 0.08);
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 1.5rem;
}

.payment-panel {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.35rem 1.5rem;
    background: #f7f8fa;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.payment-panel-method {
    background: #ffffff;
}

.payment-panel-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-ink, #071426);
    letter-spacing: -0.01em;
}

.payment-summary {
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.85rem 1.1rem;
    background: #ffffff;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.payment-row strong {
    color: var(--text-ink, #071426);
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.payment-amount-row {
    border-top: 1px solid #e5e7eb;
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.payment-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 1.15rem 0 0;
}

.payment-error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.payment-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    flex: 1;
}

.payment-element-wrap {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 1rem 1.15rem;
    background: #ffffff;
    flex: 1;
}

.payment-loading {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 1rem 0.25rem 1.25rem;
}

.btn-pay {
    position: relative;
    width: 100%;
    max-width: none;
    min-width: 0;
    border-radius: 999px;
    padding: 1.05rem 3.25rem;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: center;
    margin-top: auto;
}

.btn-pay:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.btn-pay .btn-further-arrow {
    right: 1.25rem;
}

@media (max-width: 900px) {
    .payment-layout {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }
}

@media (max-width: 640px) {
    .payment-main {
        max-width: 100%;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .payment-card {
        padding: 1.25rem 1rem 1.4rem;
    }

    .payment-panel {
        padding: 1.15rem 1rem 1.25rem;
    }

    .payment-panel-method {
        padding: 1.25rem 1.1rem 1.35rem;
    }

    .payment-element-wrap {
        padding: 1.15rem 1rem 1.15rem;
    }

    .payment-panel-title {
        margin-bottom: 1.1rem;
    }

    .btn-pay {
        margin-top: 0.35rem;
        padding: 1.05rem 2.75rem;
    }
}

.success-card {
    width: 100%;
    background: var(--background-white);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.5rem 2rem 0;
    box-shadow: 0 10px 36px rgba(26, 32, 44, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.success-badge-wrap {
    display: flex;
    justify-content: center;
    margin: -0.25rem 0 0.75rem;
}

.success-badge-obj {
    width: 120px;
    height: 120px;
    display: block;
    pointer-events: none;
}

.success-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 2rem 2.5rem;
    align-items: center;
}

.success-title {
    margin-bottom: 0.85rem;
    color: var(--text-ink, #071426);
    font-size: clamp(1.55rem, 2.8vw, 1.9rem);
}

.success-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.35rem;
    padding-left: 0.85rem;
    max-width: 34rem;
}

.success-number-box {
    background: #f3f5f7;
    border-radius: 12px;
    padding: 1rem 1.15rem 1.1rem;
    margin-bottom: 1.5rem;
}

.success-number-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-ink, #071426);
    margin: 0 0 0.45rem;
    line-height: 1.4;
}

.success-number-value {
    font-size: clamp(1.45rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--text-ink, #071426);
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
}

.success-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.success-illustration-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

.success-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 320px;
}

.success-actions .btn-status {
    position: relative;
    width: 100%;
    cursor: pointer;
    border-radius: 999px;
    padding: 1rem 3rem 1rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    justify-content: center;
}

.success-actions .btn-status .btn-further-arrow {
    right: 1.15rem;
}

.success-actions .btn-close-service {
    width: 100%;
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-ink, #071426);
    border: 1.5px solid var(--text-ink, #071426);
    background: transparent;
}

.success-actions .btn-close-service:hover,
.success-actions .btn-close-service:focus-visible {
    background: #f7f8fa;
    outline: none;
}

.success-main {
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.form-trust.success-trust {
    width: calc(100% + 4rem);
    margin: 1.5rem -2rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    background: #ffffff;
    overflow: hidden;
}

@media (max-width: 860px) {
    .success-main {
        max-width: 100%;
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .success-card {
        padding: 1.35rem 1.15rem 0;
        border-radius: 16px;
    }

    .success-badge-wrap {
        display: none;
    }

    .success-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .success-illustration {
        order: -1;
        margin: 0 0 0.15rem;
    }

    .success-illustration-img {
        max-width: 240px;
        margin: 0 auto;
    }

    .success-title {
        font-size: 1.55rem;
        margin-bottom: 0.75rem;
    }

    .success-text {
        padding-left: 0.9rem;
        margin-bottom: 1.15rem;
        font-size: 0.92rem;
    }

    .success-number-box {
        padding: 1rem 1rem 1.05rem;
        margin-bottom: 1.25rem;
    }

    .success-number-value {
        font-size: 1.45rem;
        word-break: break-all;
    }

    .success-actions {
        max-width: none;
        gap: 0.7rem;
    }

    .form-trust.success-trust {
        width: calc(100% + 2.3rem);
        margin: 1.35rem -1.15rem 0;
        padding: 1.25rem 1.15rem 1.35rem;
        border-top: 1px solid #e5e7eb;
        border-radius: 0;
        background: #f4f6f8;
    }
}

.form-secure-bar {
    display: none;
}

.form-mobile-current {
    display: none;
    grid-area: mobile-current;
}

.form-step-count {
    display: none;
}

.form-main {
    flex: 1;
    width: 100%;
    margin: 0;
    padding: 1.25rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-card {
    width: calc(100% - 200px);
    max-width: none;
    background: #ffffff;
    border: 1px solid #d1dbe1;
    border-radius: 20px;
    box-shadow: 0 10px 36px rgba(26, 32, 44, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.form-card:has(.field-select.is-open) {
    overflow: visible;
}

.form-shell {
    display: grid;
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
    grid-template-areas:
        "stepper mobile-head"
        "stepper content";
    gap: clamp(2.5rem, 4vw, 4.5rem);
    align-items: start;
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2.5rem 3rem 1.75rem 2.25rem;
}

.form-mobile-head {
    grid-area: mobile-head;
}

.form-content {
    grid-area: content;
    min-width: 0;
    width: 100%;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.stepper-bar {
    display: none;
}

/* Vertical stepper */
.stepper {
    grid-area: stepper;
    margin: 0;
    position: sticky;
    top: 5.5rem;
    width: 100%;
    max-width: none;
    padding-top: 0.25rem;
}

.stepper-list {
    --stepper-circle: 36px;
    --stepper-pad-x: 1rem;
    --stepper-pad-y: 0.85rem;
    --stepper-gap: 0.75rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
}

.stepper-list::before {
    content: "";
    position: absolute;
    top: calc(var(--stepper-pad-y) + (var(--stepper-circle) / 2));
    bottom: calc(var(--stepper-pad-y) + (var(--stepper-circle) / 2));
    left: calc(var(--stepper-pad-x) + (var(--stepper-circle) / 2) - 1px);
    width: 2px;
    background: #e0e4e9;
    z-index: 0;
}

.stepper-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--stepper-gap);
    padding: var(--stepper-pad-y) var(--stepper-pad-x);
    border-radius: 14px;
    text-align: left;
    background: transparent;
    width: 100%;
}

.stepper-item.is-active {
    background: #fff4d1;
}

.stepper-circle {
    width: var(--stepper-circle);
    height: var(--stepper-circle);
    border-radius: 50%;
    background: #dce0e6;
    color: #1a202c;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stepper-item.is-active .stepper-circle {
    background: #ffb800;
    color: #1a202c;
}

.stepper-item.is-complete .stepper-circle {
    background: #ffb800;
    color: #1a202c;
}

.stepper-item.is-complete .stepper-number {
    display: none;
}

.stepper-item.is-complete .stepper-circle::after {
    content: "✓";
    font-size: 1rem;
    font-weight: 700;
}

.stepper-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    flex: 1;
}

.stepper-icon {
    width: 20px;
    height: 20px;
    opacity: 1;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(8%) sepia(24%) saturate(1412%) hue-rotate(185deg) brightness(95%) contrast(97%);
}

.stepper-label {
    font-size: 0.95rem;
    color: #374151;
    font-weight: 700;
    line-height: 1.25;
    max-width: none;
    white-space: nowrap;
}

.stepper-item.is-active .stepper-label,
.stepper-item.is-complete .stepper-label {
    color: #111827;
    font-weight: 700;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0;
    border: none;
    background: transparent;
    color: var(--text-ink, #071426);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-back-icon {
    display: block;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.btn-back:hover {
    color: var(--accent-blue);
}

.form-step[hidden] {
    display: none;
}

.choice-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.btn-choice {
    min-width: 220px;
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    background: var(--background-white);
    color: var(--text-dark);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.85rem 2.25rem;
    border: 1.5px solid var(--text-dark);
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 200ms ease, transform 200ms ease;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--background-default);
    outline: none;
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-status,
.btn-close-service {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto;
    min-width: 0;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.btn-status {
    cursor: pointer;
}

.step3-panel[hidden] {
    display: none;
}

.form-column-wide {
    max-width: 720px;
}

.btn-add-address {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0.75rem 0 1.75rem;
    padding: 0.7rem 1.35rem;
    border: 1.5px solid #c5c9ce;
    border-radius: 999px;
    background: var(--background-white);
    color: var(--text-ink, #071426);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.btn-add-address:hover,
.btn-add-address:focus-visible {
    border-color: var(--brand-yellow, #ffb800);
    background: #fffaf0;
    outline: none;
}

.add-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
}

.previous-address-block + .previous-address-block {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e9ec;
}

.previous-address-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.previous-address-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-remove-address {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border: 1.5px solid #c0392b;
    border-radius: 40px;
    background: var(--background-white);
    color: #c0392b;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.btn-remove-address:hover,
.btn-remove-address:focus-visible {
    background: #c0392b;
    color: #fff;
    outline: none;
}

.form-actions-pair {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.25rem;
}

.form-actions-pair .btn-skip,
.form-actions-pair .btn-further {
    position: relative;
    min-width: 0;
    flex: 1 1 0;
    max-width: 220px;
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    justify-content: center;
}

.form-actions-pair .btn-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--background-white);
    color: var(--text-ink, #071426);
    border: 1.5px solid #c5c9ce;
}

.form-actions-pair .btn-skip:hover,
.form-actions-pair .btn-skip:focus-visible {
    border-color: var(--text-ink, #071426);
    background: #f7f8fa;
    outline: none;
}

.form-actions-pair .btn-further {
    padding-right: 3rem;
}

.form-actions-pair .btn-further-arrow {
    right: 1.1rem;
}

/* Overview step */
.overview-header {
    max-width: 48rem;
    margin-bottom: 1.5rem;
}

.overview-header .section-desc {
    padding-left: 0;
    margin-top: 0;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.overview-card {
    background: var(--background-white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.35rem 1.45rem;
    box-shadow: 0 4px 16px rgba(26, 32, 44, 0.05);
}

.overview-card-full {
    grid-column: 1 / -1;
}

.overview-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.overview-card-head h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-ink, #071426);
}

.btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: auto;
    height: auto;
    padding: 0.35rem 0.55rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-ink, #071426);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-edit svg {
    flex-shrink: 0;
}

.btn-edit span {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.btn-edit:hover,
.btn-edit:focus-visible {
    background: #fff4d1;
    outline: none;
}

.overview-list {
    display: grid;
    gap: 0.7rem;
}

.overview-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
    row-gap: 0.7rem;
}

.overview-list > div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 42%) minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: baseline;
}

.overview-list-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.75rem;
    row-gap: 1.35rem;
}

.overview-list-cards > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    align-items: start;
}

.overview-list dt {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
}

.overview-list dd {
    font-size: 0.95rem;
    color: var(--text-ink, #071426);
    font-weight: 700;
    word-break: break-word;
    text-align: left;
}

.overview-list-cards dt {
    font-size: 0.8rem;
    font-weight: 500;
}

.overview-list-cards dd {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
}

.overview-card-personal,
.overview-card-muted {
    background: #f4f6f8;
    border-color: #e2e6ea;
    box-shadow: none;
}

.overview-list-personal {
    gap: 0;
}

.overview-list-personal > div {
    grid-template-columns: minmax(7.5rem, 48%) minmax(0, 1fr);
    gap: 0.75rem 1rem;
    align-items: baseline;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e6ea;
}

.overview-list-personal > div:last-child {
    border-bottom: none;
    padding-bottom: 0.15rem;
}

.overview-list-personal > div:first-child {
    padding-top: 0.15rem;
}

.overview-list-personal dt {
    font-size: 0.88rem;
    font-weight: 500;
    color: #6b7280;
}

.overview-list-personal dd {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2740;
}

.overview-card-personal .btn-edit {
    color: #17496a;
}

.overview-card-personal .btn-edit span {
    color: #17496a;
    font-weight: 600;
}

.overview-card-personal .btn-edit:hover,
.overview-card-personal .btn-edit:focus-visible {
    background: rgba(23, 73, 106, 0.08);
}

.review-previous-entry + .review-previous-entry {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e9ec;
}

.overview-apply {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
    gap: 2rem 2.5rem;
    align-items: start;
    background: var(--background-white);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.6rem 1.75rem;
    box-shadow: 0 4px 16px rgba(26, 32, 44, 0.05);
}

.apply-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
}

.apply-title {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    margin-bottom: 0;
    flex: 1 1 auto;
    min-width: 0;
}

.apply-title-logo {
    display: none;
    width: clamp(72px, 18vw, 110px);
    height: auto;
    flex-shrink: 0;
    margin-right: 0.15rem;
}

@media (max-width: 980px) {
    .apply-title-logo {
        display: block;
    }
}

.apply-text {
    padding-left: 0;
    margin: 0 0 1.15rem;
    max-width: 36rem;
}

.apply-consents {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 1.15rem 0 0.35rem;
    max-width: 36rem;
}

.apply-consent-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem 0.85rem;
    align-items: flex-start;
    margin: 0;
    padding: 0.95rem 1rem;
    border: 1px solid #e8d9b0;
    border-radius: 12px;
    background: #fffaf0;
    cursor: pointer;
}

.apply-consent-input {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.15rem 0 0;
    accent-color: #c9a227;
    flex-shrink: 0;
    cursor: pointer;
}

.apply-consent-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.apply-consent-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #6b4e16;
}

.apply-consent-text {
    font-size: 0.84rem;
    line-height: 1.5;
    color: #7a6a4a;
}

.disclaimer-inline-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: default;
}

.apply-consent-card.is-invalid {
    border-color: #e0a0a0;
    background: #fff5f5;
}

.form-actions-left {
    justify-content: flex-start;
    margin-top: 1rem;
}

.btn-apply {
    width: 100%;
    max-width: 320px;
    padding: 1.05rem 3.25rem;
    border-radius: 999px;
    font-size: 1.05rem;
}

.btn-apply:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.overview-apply-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.overview-apply-illustration .illustration-img {
    max-width: min(360px, 100%);
    margin: 0 auto;
}

@media (max-width: 860px) {
    .overview-cards,
    .overview-apply {
        grid-template-columns: 1fr;
    }

    .overview-list > div {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .overview-list-personal > div {
        grid-template-columns: minmax(7rem, 46%) minmax(0, 1fr);
        gap: 0.65rem 0.85rem;
        align-items: baseline;
        padding: 0.85rem 0;
    }

    .overview-list-grid,
    .overview-list-cards {
        grid-template-columns: 1fr;
    }

    .overview-card-personal {
        padding: 1.2rem 1.15rem 1.25rem;
    }

    .overview-card-personal .overview-card-head {
        margin-bottom: 0.85rem;
    }

    .btn-apply {
        max-width: none;
    }
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.55;
    margin: 0 0 1.35rem;
    padding-left: 0;
    max-width: 40rem;
}

.section-title-modern + .section-desc {
    margin-top: 0;
}

.field-row {
    display: flex;
    gap: 0.75rem;
}

.field-row > .field {
    flex: 1;
    min-width: 0;
}

.field-postcode {
    flex: 0 0 32%;
}

.field-residence {
    flex: 1;
}

.field select {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--background-white);
    border: 1.5px solid #d5dbe3;
    border-radius: 10px;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field select:focus {
    border-color: var(--brand-yellow, #ffb800);
    box-shadow: 0 0 0 3px rgba(255, 197, 0, 0.28);
}

.field select.is-invalid {
    border-color: #c0392b;
}

.field-select {
    position: relative;
    margin-top: 1.25rem;
}

.field-select.is-custom .field-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.field-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-ink, #071426);
    background: var(--background-white);
    border: 1.5px solid #d5dbe3;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field-select-trigger:hover,
.field-select-trigger:focus-visible {
    border-color: var(--brand-yellow, #ffb800);
    outline: none;
}

.field-select.is-open .field-select-trigger,
.field-select-trigger:focus-visible {
    border-color: var(--brand-yellow, #ffb800);
    box-shadow: 0 0 0 3px rgba(255, 197, 0, 0.28);
}

.field-select.is-invalid .field-select-trigger {
    border-color: #c0392b;
}

.field-select-chevron {
    flex-shrink: 0;
    width: 14px;
    height: 9px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.75L7 7.25L12.5 1.75' stroke='%23071426' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 9px;
}

.field-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 40;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: #ffffff;
    border: 1px solid #d5dbe3;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(7, 20, 38, 0.12);
    max-height: 240px;
    overflow-y: auto;
}

.field-select-menu[hidden] {
    display: none;
}

.field-select-option {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-ink, #071426);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    cursor: pointer;
}

.field-select-option:hover,
.field-select-option:focus-visible {
    background: #fff4d1;
    outline: none;
}

.field-select-option.is-selected {
    background: var(--cta-primary, #ffc500);
    color: var(--text-ink, #071426);
}

.field-select-option.is-selected:hover,
.field-select-option.is-selected:focus-visible {
    background: var(--cta-primary, #ffc500);
}

.floating-label {
    position: absolute;
    top: -0.55rem;
    left: 0.75rem;
    padding: 0 0.35rem;
    background: var(--background-white);
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1;
    z-index: 3;
}

.field-select.is-open .floating-label,
.field-select:focus-within .floating-label {
    color: var(--text-ink, #071426);
}

/* Layout */
.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 2rem;
    align-items: start;
}

.form-layout-step1 {
    grid-template-columns: minmax(520px, 1.35fr) minmax(280px, 0.85fr);
    gap: 2rem 3.5rem;
    width: 100%;
    align-items: start;
}

.form-column {
    max-width: 720px;
    width: 100%;
}

.form-layout-step1 .form-column {
    max-width: 720px;
}

.form-section {
    margin-bottom: 1.5rem;
}

.section-title {
    position: relative;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1.25rem;
    padding-left: 0.85rem;
    line-height: 1.3;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 2px;
    background: var(--cta-primary);
}

.section-title-modern {
    padding-left: 0.9rem;
    color: var(--text-ink, #071426);
    font-size: clamp(1.85rem, 3.2vw, 2.35rem);
    font-weight: 800;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.section-title-modern::before {
    display: block;
    top: 0.12em;
    bottom: 0.12em;
    width: 5px;
    border-radius: 999px;
    background: var(--cta-primary, #ffc500);
}

.title-accent {
    color: var(--brand-yellow, #ffb800);
}

.form-page .section-title-modern .title-accent {
    color: inherit;
}

.section-subtitle {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-ink, #071426);
    margin: 0 0 1rem;
}

.field {
    margin-bottom: 1rem;
}

.field input {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--background-white);
    border: 1.5px solid #d5dbe3;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input::placeholder {
    color: #8a9199;
}

.field input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(23, 73, 106, 0.12);
}

.field input.is-invalid {
    border-color: #c0392b;
}

.field-error {
    display: none;
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #c0392b;
    font-weight: 600;
}

.field-error.is-visible {
    display: block;
}

.field-select > .field-error,
.field-date > .field-error,
.apply-consent-card > .field-error {
    grid-column: 1 / -1;
}

.apply-consent-card > .field-error {
    margin-top: 0.15rem;
    margin-left: calc(1.15rem + 0.85rem);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field input:-webkit-autofill:active,
.field select:-webkit-autofill,
.field select:-webkit-autofill:hover,
.field select:-webkit-autofill:focus,
.field select:-webkit-autofill:active {
    -webkit-text-fill-color: var(--text-dark);
    caret-color: var(--text-dark);
    box-shadow: 0 0 0 1000px #ffffff inset;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    border: 1.5px solid #d5dbe3;
    transition: background-color 99999s ease-in-out 0s;
}

.field input:-webkit-autofill:focus,
.field select:-webkit-autofill:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(23, 73, 106, 0.12);
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset, 0 0 0 3px rgba(23, 73, 106, 0.12);
}

.date-input-wrap {
    position: relative;
}

.date-input-wrap input {
    padding-right: 2.75rem;
}

.calendar-toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-blue);
    background: transparent;
    border: none;
    padding: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

.calendar-toggle:hover,
.calendar-toggle:focus-visible {
    background: rgba(23, 73, 106, 0.08);
    outline: none;
}

.date-picker {
    position: absolute;
    bottom: calc(100% + 0.4rem);
    top: auto;
    left: auto;
    right: 0;
    z-index: 20;
    width: 320px;
    max-width: calc(100vw - 2rem);
    background: var(--background-white);
    border: 1px solid #d1dbe1;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(26, 32, 44, 0.14);
    padding: 0.85rem 0.75rem 1rem;
    box-sizing: border-box;
}

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.date-picker-title {
    display: flex;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.date-picker-title select {
    flex: 1;
    min-width: 0;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid #d1dbe1;
    border-radius: 6px;
    padding: 0.35rem 0.35rem;
    background: var(--background-white);
    cursor: pointer;
}

.date-picker-nav {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #f2f4f7;
    color: var(--text-dark);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.date-picker-nav:hover,
.date-picker-nav:focus-visible {
    background: var(--cta-primary);
    outline: none;
}

.date-picker-weekdays,
.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.15rem;
    width: 100%;
}

.date-picker-weekdays {
    margin-bottom: 0.3rem;
}

.date-picker-weekdays span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: capitalize;
    user-select: none;
}

.date-picker-days .is-empty {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    visibility: hidden;
    pointer-events: none;
}

.date-picker-days button {
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.date-picker-days button:hover:not(:disabled),
.date-picker-days button:focus-visible {
    background: rgba(255, 197, 0, 0.35);
    outline: none;
}

.date-picker-days button.is-selected {
    background: var(--cta-primary);
    color: var(--text-dark);
    font-weight: 700;
}

.date-picker-days button.is-today:not(.is-selected) {
    box-shadow: inset 0 0 0 1.5px var(--accent-blue);
}

.date-picker-days button:disabled {
    color: #b0b7c0;
    background: transparent;
    cursor: default;
}

.field-hint {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.info-icon {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 0.05rem;
    display: block;
}

.form-disclaimer {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 1.5rem 0 1.75rem;
    max-width: 36rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.form-aside {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.75rem;
    min-width: 0;
    width: 100%;
}

.form-actions-aside {
    justify-content: stretch;
    margin-top: auto;
    width: 100%;
}

.form-actions-aside .btn-further,
.form-actions-step .btn-further {
    position: relative;
    width: 100%;
    max-width: 280px;
    min-width: 0;
    padding: 1.05rem 3.5rem;
    border-radius: 999px;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 0;
}

.form-actions-aside .btn-further {
    max-width: none;
}

.form-actions-step {
    justify-content: center;
    margin-top: 1.25rem;
}

.field-floating {
    position: relative;
    margin-top: 1.25rem;
}

.field-floating .floating-label {
    z-index: 1;
}

.btn-further {
    position: relative;
    min-width: 160px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
}

.btn-further-label {
    display: inline-block;
}

.btn-further-arrow {
    position: absolute;
    right: 1.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 23px;
    height: 23px;
    display: block;
}

.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;
}

/* Illustration */
.form-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    min-height: 0;
    flex: 1;
}

.form-aside .form-illustration {
    padding-top: 2.5rem;
}

.illustration-img {
    width: 100%;
    max-width: min(400px, 100%);
    height: auto;
    display: block;
    margin: 0 auto;
}

.illustration-svg {
    width: 100%;
    max-width: 380px;
    height: auto;
}

.form-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 1.5rem 2rem 1.7rem;
    border: none;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    background: #ffffff;
}

.form-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1.25rem;
    text-align: left;
}

.form-trust-item + .form-trust-item {
    border-left: 1px solid #f0d878;
}

.form-trust-item img {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 0;
}

.form-trust-item > div {
    min-width: 0;
}

.form-trust-item strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-ink, #071426);
    margin-bottom: 0.15rem;
}

.form-trust-item span {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-footer-nav {
    display: none;
}

@media (max-width: 1100px) {
    .form-shell {
        grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
        gap: 1.75rem;
        padding: 1.75rem 1.5rem 1.25rem;
    }

    .form-layout-step1 {
        grid-template-columns: minmax(0, 1.15fr) minmax(200px, 0.75fr);
        gap: 1.5rem;
    }
}

@media (max-width: 980px) {
    .form-secure-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        width: 100%;
        margin: 0;
        padding: 0.55rem 1rem;
        background: #eef1f4;
        color: #6b7280;
        font-size: 0.82rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .form-secure-icon {
        display: block;
        flex-shrink: 0;
        color: #6b7280;
    }

    .form-main {
        padding: 0 0 1.5rem;
        align-items: stretch;
    }

    .form-card {
        width: 100%;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .form-shell {
        grid-template-columns: 1fr;
        grid-template-areas:
            "mobile-head"
            "mobile-current"
            "stepper"
            "content";
        gap: 0.85rem;
        padding: 0.85rem 1rem 1.25rem;
    }

    .form-mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin: 0;
    }

    .form-mobile-head .btn-back {
        margin-bottom: 0;
        color: #1a2740;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .form-step-count {
        display: block;
        margin: 0;
        color: #1a2740;
        font-size: 0.92rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .form-mobile-current {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 1.1rem;
        background: #fff6d9;
        border-radius: 14px;
    }

    .form-mobile-current-num {
        display: flex;
        align-items: baseline;
        gap: 0.2rem;
        flex-shrink: 0;
        padding-right: 1rem;
        border-right: 1px solid #e8d9a8;
        color: #1a2740;
        line-height: 1;
    }

    .form-mobile-current-num strong {
        font-size: 1.85rem;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .form-mobile-current-num span {
        font-size: 0.95rem;
        font-weight: 500;
        color: #8a93a3;
    }

    .form-mobile-current-text {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        min-width: 0;
    }

    .form-mobile-current-title {
        font-size: 1rem;
        font-weight: 800;
        color: #1a2740;
        line-height: 1.25;
    }

    .form-mobile-current-next {
        font-size: 0.84rem;
        font-weight: 500;
        color: #8a93a3;
        line-height: 1.3;
    }

    .stepper {
        position: static;
        overflow: visible;
        max-width: none;
        margin: 0.15rem 0 0.35rem;
    }

    .stepper-list {
        flex-direction: row;
        justify-content: stretch;
        align-items: stretch;
        gap: 0.45rem;
        width: 100%;
        min-width: 0;
    }

    .stepper-list::before {
        display: none;
    }

    .stepper-item {
        flex: 1 1 0;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 0;
        gap: 0.4rem;
        min-width: 0;
        width: auto;
        background: transparent;
        border-radius: 0;
    }

    .stepper-item.is-active {
        background: transparent;
    }

    .stepper-bar {
        display: block;
        width: 100%;
        height: 4px;
        border-radius: 999px;
        background: #e5e7eb;
    }

    .stepper-item.is-active .stepper-bar,
    .stepper-item.is-complete .stepper-bar {
        background: #ffc500;
    }

    .stepper-circle,
    .stepper-icon {
        display: none;
    }

    .stepper-meta {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .stepper-label {
        font-size: 0.68rem;
        line-height: 1.25;
        white-space: normal;
        font-weight: 500;
        color: #8a93a3;
    }

    .stepper-item.is-active .stepper-label {
        color: #1a2740;
        font-weight: 800;
    }

    .stepper-item.is-complete .stepper-label {
        color: #4b5563;
        font-weight: 600;
    }

    .form-aside .form-illustration,
    .form-illustration,
    .overview-apply-illustration {
        display: none;
    }

    /* Step 2 + step 3 previous-address: stacked in-field labels */
    .form-step[data-step="2"] .field-floating,
    .form-step[data-step="2"] .field-select,
    #step3-previous-address .field-floating,
    #step3-previous-address .field-select {
        margin-top: 0.7rem;
    }

    .form-step[data-step="2"] .section-desc + .field-floating,
    #step3-previous-address .section-desc + #previous-address-list .previous-address-block:first-child .field-floating:first-child {
        margin-top: 1rem;
    }

    .form-step[data-step="2"] .floating-label,
    #step3-previous-address .floating-label {
        top: 0.62rem;
        left: 0.95rem;
        padding: 0;
        background: transparent;
        color: #8a9199;
        font-size: 0.72rem;
        font-weight: 500;
        line-height: 1.2;
        pointer-events: none;
        z-index: 2;
    }

    .form-step[data-step="2"] .field-floating input,
    #step3-previous-address .field-floating input {
        min-height: 3.7rem;
        padding: 1.55rem 0.95rem 0.55rem;
        border-radius: 10px;
        font-size: 0.98rem;
        font-weight: 500;
        color: #5f636b;
    }

    .form-step[data-step="2"] .field-floating input:not(:placeholder-shown),
    #step3-previous-address .field-floating input:not(:placeholder-shown) {
        color: var(--text-ink, #071426);
        font-weight: 600;
    }

    .form-step[data-step="2"] .field-floating input::placeholder,
    #step3-previous-address .field-floating input::placeholder {
        color: #9aa1a9;
        font-weight: 500;
    }

    .form-step[data-step="2"] .field-row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: 0.65rem;
        margin-top: 0.7rem;
    }

    .form-step[data-step="2"] .field-row > .field {
        margin-top: 0;
    }

    .form-step[data-step="2"] .field-postcode {
        flex: 0 0 36%;
        max-width: 36%;
    }

    .form-step[data-step="2"] .field-residence {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Step 3: keep Hausnummer + Postleitzahl level and equal height */
    #step3-previous-address .field-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
        margin-top: 0.7rem;
        align-items: stretch;
    }

    #step3-previous-address .field-row > .field {
        margin-top: 0 !important;
        width: 100%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    #step3-previous-address .field-row .field-floating input {
        width: 100%;
        height: 3.7rem;
        min-height: 3.7rem;
        box-sizing: border-box;
    }

    #step3-previous-address .field-house,
    #step3-previous-address .field-postcode {
        flex: none;
        max-width: none;
    }

    .form-step[data-step="2"] .field-select-trigger,
    #step3-previous-address .field-select-trigger {
        position: relative;
        min-height: 3.7rem;
        padding: 1.55rem 2.5rem 0.55rem 0.95rem;
        border-radius: 10px;
        font-size: 0.98rem;
        font-weight: 700;
        color: var(--text-ink, #071426);
        align-items: flex-end;
    }

    .form-step[data-step="2"] .field-select-trigger .field-select-value,
    #step3-previous-address .field-select-trigger .field-select-value {
        line-height: 1.25;
        padding-bottom: 0.05rem;
    }

    .form-step[data-step="2"] .field-select-chevron,
    #step3-previous-address .field-select-chevron {
        position: absolute;
        right: 0.95rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .form-step[data-step="2"] .form-actions-step {
        margin-top: 1.5rem;
    }

    #step3-previous-address .btn-add-address {
        margin: 1rem 0 1.25rem;
        padding: 0.75rem 1.25rem;
        border-color: #1a2740;
        color: #1a2740;
        background: #ffffff;
        justify-content: flex-start;
    }

    #step3-previous-address .btn-add-address .add-icon {
        width: auto;
        height: auto;
        border: none;
        border-radius: 0;
        font-size: 1.15rem;
        line-height: 1;
    }

    #step3-previous-address .form-actions-pair {
        margin-top: 0.5rem;
        gap: 0.75rem;
    }

    #step3-previous-address .form-actions-pair .btn-further,
    #step3-previous-address .form-actions-pair .btn-skip {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 860px) {
    .form-layout,
    .form-layout-step1 {
        grid-template-columns: 1fr;
    }

    .form-column,
    .form-layout-step1 .form-column {
        max-width: none;
    }

    .form-aside {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .form-aside .form-illustration,
    .form-illustration,
    .overview-apply-illustration {
        display: none;
    }

    .form-actions-aside,
    .form-actions-step,
    .form-actions-left {
        width: 100%;
    }

    .form-actions-aside .btn-further,
    .form-actions-step .btn-further,
    .btn-apply {
        width: 100%;
        max-width: none;
    }

    .form-trust {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        margin: 0.75rem 0 0;
        padding: 1.35rem 1.15rem 1.45rem;
        background: #eef1f4;
        border-top: none;
    }

    .form-trust-item {
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0.85rem;
        padding: 0;
        text-align: left;
    }

    .form-trust-item + .form-trust-item {
        border-left: none;
        border-top: none;
        padding-top: 0;
    }

    .form-trust-item img {
        width: 26px;
        height: 26px;
        margin-top: 0.1rem;
    }

    .form-trust-item strong {
        font-size: 0.98rem;
        font-weight: 800;
        color: #1a2740;
        margin-bottom: 0.2rem;
    }

    .form-trust-item span {
        font-size: 0.88rem;
        color: #6b7280;
        line-height: 1.4;
    }

    .form-footer-nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        column-gap: 1.35rem;
        row-gap: 0.75rem;
        width: 100%;
        margin: 0;
        padding: 1.15rem 1rem 1.5rem;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
    }

    .form-footer-nav a {
        display: inline-flex;
        align-items: center;
        gap: 0.3rem;
        color: #1a2740;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        line-height: 1.3;
        white-space: nowrap;
    }

    .form-footer-nav a.has-caret::after {
        content: "";
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid currentColor;
        margin-top: 2px;
    }

    .form-footer-nav a:hover,
    .form-footer-nav a:focus-visible {
        color: var(--accent-blue, #17496a);
        outline: none;
    }
}

@media (max-width: 900px) {
    .form-card {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .form-main {
        padding: 0 0 1.25rem;
    }

    .form-card {
        width: 100%;
        border-radius: 0;
    }

    .form-shell {
        padding: 0.75rem 0.9rem 1.1rem;
    }

    .form-mobile-current-num strong {
        font-size: 1.65rem;
    }

    .stepper-label {
        font-size: 0.64rem;
    }

    .field-row {
        flex-direction: column;
        gap: 0;
    }

    .form-step[data-step="2"] .field-row {
        flex-direction: row;
        gap: 0.65rem;
    }

    #step3-previous-address .field-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .section-title-modern {
        font-size: 1.7rem;
    }

    .form-actions {
        justify-content: stretch;
    }

    .btn-further {
        width: 100%;
    }
}
