﻿/* ==========================================
   0. RESPONSIVE TOKENS (fluid type + spacing)
   Scales smoothly between ~320px and ~1200px
   ========================================== */
:root {
    /* Fluid font sizes */
    --fs-xs: clamp(0.72rem, 0.70rem + 0.10vw, 0.78rem);
    --fs-sm: clamp(0.82rem, 0.80rem + 0.15vw, 0.92rem);
    --fs-md: clamp(0.92rem, 0.90rem + 0.20vw, 1rem);
    --fs-lg: clamp(1rem, 0.95rem + 0.30vw, 1.1rem);
    --fs-h3: clamp(1rem, 0.95rem + 0.30vw, 1.08rem);
    --fs-h2: clamp(1.05rem, 1rem + 0.35vw, 1.18rem);
    --fs-h1: clamp(1.6rem, 1.2rem + 2vw, 2.75rem);
    --fs-xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
    /* Fluid spacing */
    --sp-1: clamp(6px, 0.5vw + 4px, 8px);
    --sp-2: clamp(10px, 0.8vw + 6px, 14px);
    --sp-3: clamp(14px, 1.2vw + 8px, 20px);
    --sp-4: clamp(18px, 2vw + 8px, 28px);
    --sp-5: clamp(22px, 3vw + 8px, 38px);
    --gutter: clamp(14px, 4vw, 24px);
    --radius-card: clamp(14px, 1.5vw + 8px, 20px);
    --overlap: clamp(-42px, -6vw, -24px);
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* ==========================================
   1. PAGE HEADER BANNER & WRAPPER
   ========================================== */
.reg-banner {
    background: linear-gradient(125deg, #0F3166 0%, #1B4F9C 55%, #27A8D8 100%);
    color: #fff;
    padding: clamp(24px, 5vw, 42px) 0 clamp(52px, 9vw, 76px);
    position: relative;
    overflow: hidden;
}

    .reg-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
        background-size: clamp(28px, 5vw, 40px) clamp(28px, 5vw, 40px);
        pointer-events: none;
    }

    .reg-banner .in {
        position: relative;
        z-index: 1;
        max-width: 820px;
        padding-inline: var(--gutter);
    }

.back-lnk {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-1);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-bottom: var(--sp-3);
    padding: 6px clamp(10px, 2vw, 14px);
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

    .back-lnk:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        transform: translateX(-3px);
    }

.reg-banner h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0 0 var(--sp-1);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.reg-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--fs-lg);
    line-height: 1.5;
    margin: 0;
    max-width: 40em;
}

/* ==========================================
   2. MODERN FORM CARD & SECTIONS
   ========================================== */
.fwrap {
    max-width: 820px;
    margin: var(--overlap) auto 0;
    padding: 0 var(--gutter) clamp(36px, 7vw, 64px);
    position: relative;
    z-index: 2;
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: var(--sp-5) clamp(16px, 4vw, 34px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.sec-title {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    margin: 0 0 var(--sp-3);
    padding-bottom: var(--sp-2);
    border-bottom: 1px solid var(--line);
}

.sec-num {
    width: clamp(26px, 3vw + 14px, 30px);
    height: clamp(26px, 3vw + 14px, 30px);
    border-radius: 8px;
    background: var(--tint);
    color: var(--primary);
    font-weight: 800;
    font-size: var(--fs-sm);
    display: grid;
    place-items: center;
    flex: none;
}

.sec-title h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin: 0;
    color: var(--ink);
    letter-spacing: -0.01em;
    line-height: 1.3;
    min-width: 0;
}

/* Grid: single column on mobile, two columns when there is room */
.g {
    display: grid;
    gap: var(--sp-3);
    grid-template-columns: minmax(0, 1fr);
}

    .g > * {
        min-width: 0; /* prevents inputs overflowing grid cells */
    }

@media (min-width: 640px) {
    .g.two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fl {
    margin-bottom: var(--sp-3);
    position: relative;
    min-width: 0;
}

.g .fl {
    margin-bottom: 0;
}

label.l, .l {
    display: block;
    font-weight: 600;
    font-size: var(--fs-md);
    margin-bottom: var(--sp-1);
    color: var(--ink);
    line-height: 1.45;
}

.req {
    color: var(--err);
    font-weight: 700;
}

/* Inputs, Selects & Textareas
   NOTE: font-size stays >= 16px on small screens so iOS Safari does not auto-zoom on focus */
.f-ctrl {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 11px;
    padding: clamp(11px, 1.2vw + 7px, 13px) clamp(12px, 1.5vw + 8px, 15px);
    min-height: 46px; /* comfortable touch target */
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

    .f-ctrl::placeholder {
        color: var(--muted);
        opacity: 0.75;
    }

    .f-ctrl:hover {
        border-color: #CBD5E1;
    }

    .f-ctrl:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(21, 80, 165, 0.12);
    }

textarea.f-ctrl {
    min-height: clamp(90px, 18vw, 105px);
    resize: vertical;
}

/* Invalid State Highlighting */
.fl.has-err .f-ctrl {
    border-color: var(--err);
    background: rgba(220, 38, 38, 0.02);
}

/* ASP.NET RadioButtonList Modern Pill Styling (RepeatLayout="Flow") */
.yn-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-2);
}

/* Stack options on very narrow phones */
@media (max-width: 360px) {
    .yn-list {
        grid-template-columns: 1fr;
    }
}

.yn-item {
    position: relative;
    display: flex;
}

    .yn-item input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .yn-item label {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--sp-1);
        border: 1.5px solid var(--line);
        background: var(--card);
        border-radius: 12px;
        padding: clamp(11px, 1.2vw + 7px, 13px) clamp(10px, 2vw, 16px);
        min-height: 46px;
        cursor: pointer;
        font-weight: 600;
        font-size: var(--fs-md);
        color: var(--ink);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        user-select: none;
        text-align: center;
    }

        .yn-item label::before {
            content: "";
            width: 18px;
            height: 18px;
            flex: none;
            border-radius: 50%;
            border: 2px solid var(--muted);
            background: transparent;
            transition: all 0.2s ease;
        }

        .yn-item label:hover {
            border-color: var(--primary);
            background: var(--note);
        }

    .yn-item input[type="radio"]:checked + label {
        border-color: var(--primary);
        background: var(--tint);
        color: var(--primary);
        box-shadow: 0 6px 16px rgba(21, 80, 165, 0.12);
        transform: translateY(-1px);
    }

        .yn-item input[type="radio"]:checked + label::before {
            border-color: var(--primary);
            background: var(--primary);
            box-shadow: inset 0 0 0 3.5px var(--card);
        }

    .yn-item input[type="radio"]:focus-visible + label {
        outline: 3px solid var(--primary);
        outline-offset: 2px;
    }

/* Conditional Callout Banners */
.dk-box {
    margin-top: var(--sp-2);
    background: linear-gradient(90deg, var(--tint) 0%, var(--note) 100%);
    border: 1px solid rgba(21, 80, 165, 0.25);
    border-radius: 11px;
    padding: var(--sp-2) var(--sp-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    flex-wrap: wrap;
    animation: fadeSlide 0.25s ease-out;
}

    .dk-box span {
        font-size: var(--fs-sm);
        font-weight: 600;
        color: var(--ink);
        flex: 1 1 200px;
        min-width: 0;
    }

    .dk-box a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        background: var(--primary);
        color: var(--primary-ink);
        text-decoration: none;
        font-size: var(--fs-sm);
        font-weight: 600;
        padding: 9px 14px;
        border-radius: 8px;
        transition: filter 0.2s ease;
    }

        .dk-box a:hover {
            filter: brightness(1.1);
        }

@media (max-width: 480px) {
    .dk-box a {
        width: 100%;
    }
}

.hint {
    background: var(--tint);
    color: red;
    border-left: 4px solid red;
    border-radius: 8px;
    padding: var(--sp-2);
    margin-top: var(--sp-2);
    font-size: var(--fs-sm);
    font-weight: bold;
    line-height: 1.5;
    animation: fadeSlide 0.25s ease-out;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Validation Error Messages */
.val-msg {
    display: block;
    color: var(--err);
    font-size: var(--fs-sm);
    font-weight: 600;
    margin-top: 6px;
}

.val-summary {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid var(--err);
    color: var(--err);
    border-radius: 12px;
    padding: var(--sp-2) var(--sp-3);
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
    font-weight: 500;
}

hr.sep {
    border: 0;
    border-top: 1px solid var(--line);
    margin: var(--sp-4) 0;
}

/* Terms & Conditions Box */
.tc {
    background: var(--note);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: var(--sp-3) clamp(14px, 3vw, 22px);
    margin: var(--sp-4) 0 0;
}

    .tc h3 {
        margin: 0 0 6px;
        font-size: var(--fs-h3);
        font-weight: 700;
        color: var(--ink);
    }

    .tc p {
        margin: 0 0 var(--sp-1);
        font-weight: 600;
        font-size: var(--fs-sm);
        color: var(--primary);
    }

    .tc ul {
        margin: 0;
        padding-left: clamp(16px, 3vw, 20px);
        color: var(--muted);
        font-size: var(--fs-sm);
    }

    .tc li {
        margin-bottom: var(--sp-1);
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

        .tc li b {
            color: var(--ink);
        }

        .tc li:last-child {
            margin-bottom: 0;
        }

/* Consent Checkbox */
.confirm-wrap {
    display: flex;
    gap: var(--sp-2);
    align-items: flex-start;
    background: var(--note);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: var(--sp-3);
    cursor: pointer;
    margin: var(--sp-3) 0 6px;
    font-size: var(--fs-md);
    line-height: 1.5;
    transition: border-color 0.2s ease, background 0.2s ease;
}

    .confirm-wrap:hover {
        border-color: var(--primary);
    }

    .confirm-wrap input[type="checkbox"] {
        margin-top: 3px;
        width: 20px;
        height: 20px;
        accent-color: var(--primary);
        flex: none;
        cursor: pointer;
    }

/* Form Footer & Submit Button */
/*.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

    .foot small {
    color: #ff0000;
    font-size: var(--fs-sm);
    max-width: 32em;
    display: flex;
    align-items: center;
    gap: var(--sp-1);
    flex: 1 1 220px;
    font-weight: 700;
}*/

.btn-submit {
    background: linear-gradient(135deg, #1550A5 0%, #1F62AE 100%);
    color: #fff;
    font-weight: 700;
    font-size: var(--fs-lg);
    border-radius: 12px;
    padding: clamp(13px, 1.5vw + 8px, 15px) clamp(22px, 4vw, 32px);
    min-height: 48px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(21, 80, 165, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(21, 80, 165, 0.35);
        filter: brightness(1.06);
    }

/* Full-width submit button on phones */
@media (max-width: 560px) {
    .foot {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .btn-submit {
        width: 100%;
    }
}

/* ==========================================
   3. SCREEN 3: SUCCESS & ACKNOWLEDGEMENT PASS
   ========================================== */
.sw {
    max-width: 820px;
    margin: var(--overlap) auto 0;
    padding: 0 var(--gutter) clamp(36px, 7vw, 64px);
    position: relative;
    z-index: 2;
}

.sc {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: var(--sp-5) clamp(16px, 4vw, 32px);
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.ck {
    width: clamp(52px, 8vw, 64px);
    height: clamp(52px, 8vw, 64px);
    border-radius: 50%;
    background: #DCFCE7;
    border: 4px solid #BBF7D0;
    display: grid;
    place-items: center;
    margin: 0 auto var(--sp-3);
}

    .ck svg {
        width: 50%;
        height: 50%;
        stroke: #16A34A;
        fill: none;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.sc h2 {
    font-size: var(--fs-xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 var(--sp-4);
    color: var(--ink);
    line-height: 1.2;
}

.two2 {
    display: grid;
    gap: var(--sp-2);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 620px) {
    .two2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--sp-3);
    }
}

.bx {
    background: var(--note);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: var(--sp-3) var(--sp-3);
    min-width: 0;
}

    .bx small {
        display: block;
        color: var(--muted);
        font-size: var(--fs-xs);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
    }

    .bx strong {
        font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.3rem);
        overflow-wrap: anywhere;
        word-break: break-word;
        color: var(--ink);
    }

.mono {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    color: var(--primary) !important;
    font-weight: 800;
}

.sc p {
    color: var(--muted);
    max-width: 32em;
    margin: var(--sp-3) auto;
    font-size: var(--fs-lg);
    line-height: 1.55;
}

.sb {
    display: flex;
    gap: var(--sp-2);
    justify-content: center;
    flex-wrap: wrap;
}

.btn.g2 {
    background: var(--card);
    color: var(--ink);
    border: 1.5px solid var(--line);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-1);
    font-size: var(--fs-md);
    padding: 12px clamp(16px, 3vw, 22px);
    min-height: 46px;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn.g2:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

.sb .btn.p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-1);
    font-size: var(--fs-md);
    padding: 12px clamp(16px, 3vw, 22px);
    min-height: 46px;
    border-radius: 11px;
}

.sb svg {
    width: 18px;
    height: 18px;
    flex: none;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Action buttons go full width on phones */
@media (max-width: 480px) {
    .sb {
        flex-direction: column;
    }

        .sb .btn {
            width: 100%;
        }
}

.ackh {
    font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
    font-weight: 700;
    margin: var(--sp-5) 0 var(--sp-2);
    color: var(--ink);
}

.ack {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: clamp(14px, 1.5vw + 8px, 18px);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ackt {
    background: linear-gradient(120deg, #12438C, #1B66B5 55%, #25ACD8);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4);
    flex-wrap: wrap;
}

    .ackt .logo {
        border-radius: 10px;
        height: clamp(40px, 6vw, 52px);
        max-width: 100%;
        width: auto;
        padding: 4px 8px;
        background: #fff;
    }

    .ackt div:last-child {
        text-align: right;
        min-width: 0;
    }

    .ackt b {
        display: block;
        font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.35rem);
        overflow-wrap: anywhere;
    }

    .ackt span {
        font-size: var(--fs-sm);
        opacity: 0.95;
    }

/* Stack header on phones */
@media (max-width: 480px) {
    .ackt {
        flex-direction: column;
        align-items: flex-start;
    }

        .ackt div:last-child {
            text-align: left;
        }
}

.ackb {
    display: grid;
    gap: var(--sp-4);
    padding: var(--sp-4);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
    .ackb {
        grid-template-columns: minmax(0, 1fr) 180px;
    }
}

.dl {
    display: grid;
    gap: var(--sp-3) var(--sp-4);
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 480px) {
    .dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dl small {
    display: block;
    color: var(--muted);
    font-size: var(--fs-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.dl b {
    font-size: var(--fs-md);
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--ink);
}

.qr {
    border: 1.5px dashed var(--line);
    border-radius: 14px;
    background: var(--note);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--sp-3);
    text-align: center;
    min-height: 150px;
}

@media (min-width: 700px) {
    .qr {
        min-height: 180px;
    }
}

.qr svg {
    width: clamp(56px, 10vw, 72px);
    height: clamp(56px, 10vw, 72px);
    stroke: var(--primary);
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    margin-bottom: var(--sp-1);
}

.qr b {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: var(--fs-xs);
    color: var(--ink);
    margin-bottom: 2px;
    overflow-wrap: anywhere;
}

.qr small {
    color: var(--muted);
    font-size: var(--fs-xs);
}

/* ==========================================
   4. ACCESSIBILITY & PRINT
   ========================================== */
/* ==========================================
   MOBILE OVERRIDES (phones): smaller type, tighter
   spacing, page fills the full screen width
   ========================================== */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

@media (max-width: 600px) {
    :root {
        --fs-xs: 0.68rem;
        --fs-sm: 0.78rem;
        --fs-md: 0.86rem;
        --fs-lg: 0.92rem;
        --fs-h3: 0.92rem;
        --fs-h2: 1rem;
        --fs-h1: 1.4rem;
        --fs-xl: 1.3rem;
        --sp-1: 6px;
        --sp-2: 10px;
        --sp-3: 14px;
        --sp-4: 18px;
        --sp-5: 20px;
        --gutter: 10px;
        --radius-card: 14px;
        --overlap: -26px;
    }

    .reg-banner {
        padding: 18px 0 44px;
    }

        .reg-banner h1 {
            font-size: 1.4rem;
            line-height: 1.2;
        }

        .reg-banner p {
            font-size: 0.85rem;
            line-height: 1.45;
        }

    .back-lnk {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }

    .fwrap,
    .sw {
        max-width: 100%;
        width: 100%;
    }

    .card,
    .sc {
        padding: 18px 14px;
    }

    .sec-num {
        width: 24px;
        height: 24px;
        font-size: 0.72rem;
    }

    label.l, .l {
        font-size: 0.84rem;
        margin-bottom: 6px;
    }

    /* 16px keeps iOS from zooming the page when a field is focused */
    .f-ctrl {
        font-size: 16px;
        padding: 10px 12px;
        min-height: 42px;
    }

    .yn-item label {
        font-size: 0.84rem;
        padding: 10px 8px;
        min-height: 42px;
    }

        .yn-item label::before {
            width: 15px;
            height: 15px;
        }

    .tc {
        padding: 14px;
    }

    .confirm-wrap {
        padding: 12px;
        font-size: 0.82rem;
    }

        .confirm-wrap input[type="checkbox"] {
            width: 18px;
            height: 18px;
        }

    .btn-submit {
        font-size: 0.95rem;
        padding: 12px 18px;
        min-height: 44px;
    }

    .sc h2 {
        font-size: 1.3rem;
    }

    .bx strong,
    .ackt b {
        font-size: 1rem;
    }

    .ackb {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    header, footer, .reg-banner, .sc, .ackh {
        display: none !important;
    }

    .sw {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    body {
        background: #fff;
    }

    .ack {
        box-shadow: none;
        border: 1px solid #CBD5E1;
    }

    .ackb {
        grid-template-columns: minmax(0, 1fr) 180px;
    }

    .dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ackt {
        flex-direction: row;
        align-items: center;
    }

        .ackt div:last-child {
            text-align: right;
        }
}

/* Footer layout */
.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid #e2e8f0;
    box-sizing: border-box;
}

/* Left information section */
.foot-info {
    /*display: flex;*/
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex: 1;
    min-width: 0;
}

.step-indicator {
    font-size: 15px;
    font-weight: 700;
    color: #dc2626;
    white-space: nowrap;
}

.stall-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 390px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 500;
    color: red;
}

.stall-notice svg {
    flex-shrink: 0;
    color: red;
}

/* Right buttons section */
.foot-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.foot-actions .btn-submit {
    margin: 0;
    white-space: nowrap;
}

.foot-actions .btn-back {
    min-width: 110px;
}

.foot-actions .btn-final {
    min-width: 220px;
}

/* Tablet */
@media (max-width: 992px) {
    .foot {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .foot-info {
        width: 100%;
    }

    .stall-notice {
        max-width: 350px;
    }

    .foot-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .foot {
        gap: 18px;
        padding-top: 20px;
        margin-top: 20px;
    }

    .foot-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .step-indicator {
        white-space: normal;
        font-size: 14px;
    }

    .stall-notice {
        max-width: 100%;
        font-size: 12px;
        align-items: flex-start;
    }

    .foot-actions {
        flex-direction: column-reverse;
        width: 100%;
        gap: 10px;
    }

    .foot-actions .btn-submit {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
