:root {
    --navy: #1a2b52;
    --navy-light: #243668;
    --blue-mid: #2f5096;
    --accent: #426cb4;
    --accent-lt: #607dcb;
    --green: #27ae60;
    --green-dk: #1e8c4a;
    --purple: #7b3dbf;
    --purple-dk: #6d2177;
    --surface: #f5f7fc;
    --white: #ffffff;
    --text-dk: #1a1d2e;
    --text-md: #4b5563;
    --text-sm: #6b7280;
    --border: #dde3f0;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(26, 43, 82, .08);
    --shadow-md: 0 8px 32px rgba(26, 43, 82, .14);
    --shadow-lg: 0 20px 60px rgba(26, 43, 82, .20);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    display: block;
    padding: 40px 16px;
}

/* ═══════════════════════════════════════════
   WIZARD CARD
═══════════════════════════════════════════ */
.wizard-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    width: 100%;
    max-width: 1100px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp .5s cubic-bezier(.22, 1, .36, 1);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.wizard-header {
    background: linear-gradient(150deg, #f0f4ff 0%, #e8edf8 60%, #dde4f5 100%);
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 24px 44px 24px;
}

.wizard-header::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, .04);
    pointer-events: none;
}

.wizard-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 48px;
    background: var(--white);
    display: none;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.wizard-header-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-lt), var(--accent));
}

.wh-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.wh-logo img {
    max-height: 96px;
    width: auto;
    display: block;
}

.wh-logo i {
    font-size: 48px;
    color: var(--accent-lt);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3));
}

.wizard-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    text-shadow: none;
    margin: 0 0 10px;
}

.wh-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 43, 82, .08);
    border-color: rgba(26, 43, 82, .15);
    border-radius: 50px;
    padding: 7px 20px;
    backdrop-filter: blur(8px);
}

.wh-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .6;
        transform: scale(.85);
    }
}

.wh-badge span {
    font-size: .88rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   STEPPER NAV
═══════════════════════════════════════════ */
.wizard-nav {
    padding: 32px 44px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.wizard-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.wizard-nav ul::before {
    content: '';
    position: absolute;
    top: 19px;
    height: 3px;
    background: var(--border);
    z-index: 1;
    /* Only span between first and last bubble centers */
    left: calc(100% / 8);
    right: calc(100% / 8);
    border-radius: 3px;
}

.nav-progress-fill {
    position: absolute;
    top: 19px;
    height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    z-index: 2;
    transition: width .45s cubic-bezier(.4,0,.2,1);
    width: 0%;
    pointer-events: none;
    border-radius: 3px;
    /* Match the same left offset as ul::before */
    left: calc(100% / 8);
}

.wizard-nav li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.wizard-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: not-allowed;
    pointer-events: all;
    transition: transform .2s;
}

.wizard-nav li.done a {
    cursor: pointer;
}

.wizard-nav li.done a:hover .step-bubble {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: scale(1.13);
    box-shadow: 0 4px 18px rgba(26, 43, 82, .28);
}

.wizard-nav li.done a:hover .step-lbl {
    color: var(--navy);
}

.wizard-nav li.active a {
    cursor: default;
}

.wizard-nav li:not(.done):not(.active) .step-bubble {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text-sm);
    box-shadow: none;
}

.wizard-nav li:not(.done):not(.active) .step-lbl {
    color: var(--text-sm);
}

.step-bubble {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-sm);
    transition: all .25s;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-lbl {
    font-size: .68rem;
    font-weight: 600;
    color: var(--text-sm);
    margin-top: 7px;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: color .2s;
}

.wizard-nav li.done .step-bubble {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(26, 43, 82, .18);
}

.wizard-nav li.done .step-bubble .fa-check {
    display: inline-block;
}

.wizard-nav li.active .step-bubble {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(155, 89, 182, .2);
}

.wizard-nav li.done .step-lbl,
.wizard-nav li.active .step-lbl {
    color: var(--navy);
}

/* ═══════════════════════════════════════════
   TAB CONTENT
═══════════════════════════════════════════ */
.wizard-body {
    padding: 32px 44px;
}

.tab-pane {
    display: none;
    animation: fadeIn .35s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════ */
.section-head {
    padding: 11px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-dk);
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 18px;
    margin-top: 8px;
    background: var(--surface);
    border-left: 3px solid var(--navy);
}

.sh-navy {
    border-left-color: var(--navy);
}
.sh-navy i { color: var(--navy); }

.sh-green {
    border-left-color: var(--green);
}
.sh-green i { color: var(--green); }

.sh-purple {
    border-left-color: var(--purple);
}
.sh-purple i { color: var(--purple); }

.sh-accent {
    border-left-color: var(--accent);
}
.sh-accent i { color: var(--accent); }

.sh-red {
    border-left-color: #dc2626;
}
.sh-red i { color: #dc2626; }

/* Override old info-text / bg-info / bg-success classes to match new style */
.info-text {
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: 18px;
    margin-top: 8px;
    border: none;
}

.info-text.bg-info {
    background: var(--surface) !important;
    color: var(--text-dk) !important;
    border-left: 3px solid var(--navy);
}

.info-text.bg-success {
    background: var(--surface) !important;
    color: var(--text-dk) !important;
    border-left: 3px solid var(--green);
}

/* ═══════════════════════════════════════════
   FORM CONTROLS
═══════════════════════════════════════════ */
.form-control {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: .88rem;
    color: var(--text-dk);
    padding: .6rem 1rem;
    transition: all .25s ease;
}

.form-control:focus {
    background: var(--white);
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(47, 80, 150, .10);
    outline: none;
}

label {
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-md);
    text-transform: none;
    letter-spacing: 0.1px;
    margin-bottom: 6px;
    display: block;
}

/* ═══════════════════════════════════════════
   FORM SECTIONS (card-grouped fields)
═══════════════════════════════════════════ */
.form-section {
    border: 1px solid rgba(221, 227, 240, 0.7);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: none;
    background: transparent;
}

.form-section-head {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--text-dk);
    letter-spacing: .2px;
    background: var(--surface);
    border-left: 3px solid var(--navy);
}

.form-section-head i {
    font-size: .95rem;
    color: var(--navy);
}

.fsh-navy  { border-left-color: var(--navy); }
.fsh-navy i { color: var(--navy); }
.fsh-blue  { border-left-color: var(--blue-mid); }
.fsh-blue i { color: var(--blue-mid); }
.fsh-purple { border-left-color: var(--purple); }
.fsh-purple i { color: var(--purple); }
.fsh-green { border-left-color: var(--green); }
.fsh-green i { color: var(--green); }
.fsh-red   { border-left-color: #dc2626; }
.fsh-red i { color: #dc2626; }

.form-section-body {
    padding: 20px 20px 8px;
}

.form-section-body .form-group {
    margin-bottom: 20px;
}

.form-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-section-grid .form-section {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-section-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   FILE UPLOADER OVERRIDES
═══════════════════════════════════════════ */
.fileuploader {
    background: var(--surface);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 0 0 4px;
    transition: border-color .25s, background .25s;
}

.fileuploader:hover {
    border-color: var(--blue-mid);
    background: #f0f4fc;
}

.fileuploader-input {
    border-radius: 10px;
}

.fileuploader-input .fileuploader-input-caption {
    background: var(--surface);
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--text-sm);
    font-weight: 500;
    font-size: .85rem;
    box-shadow: none;
    margin-right: 12px;
    transition: all .25s ease;
}

.fileuploader-focused .fileuploader-input .fileuploader-input-caption {
    background: var(--white);
    border-color: var(--blue-mid);
    box-shadow: 0 0 0 3px rgba(47, 80, 150, .10);
}

.fileuploader-input .fileuploader-input-button {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
    border-radius: 10px;
    padding: 12px 22px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 43, 82, .2);
    letter-spacing: .3px;
}

.fileuploader-input .fileuploader-input-button:hover {
    box-shadow: 0 6px 20px rgba(26, 43, 82, .3);
    transform: translateY(-1px);
}

.fileuploader-input .fileuploader-input-button:active {
    transform: translateY(1px);
}

.fileuploader-input.fileuploader-dragging {
    background: rgba(47, 80, 150, .04);
    border: 2px dashed var(--blue-mid);
    border-radius: 10px;
}

/* File items list */
.fileuploader-items .fileuploader-items-list {
    margin: 0;
    padding: 0;
}

.fileuploader-items .fileuploader-item {
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    margin-top: 12px;
    padding: 14px 16px;
    border-bottom: none;
}

.fileuploader-items .fileuploader-item:last-child {
    margin-bottom: 0;
}

.fileuploader-items .fileuploader-item .column-title div {
    color: var(--text-dk);
    font-size: .85rem;
}

/* The file's size, on a line of its own under its name. Inline, it shares that line with the
   column's 14px text, which sits 2px lower than the 12px size alone and makes the row 1px taller
   than its thumbnail; the form rendered in quirks mode until 2027.1, which leaves that text out. */
.fileuploader-items .fileuploader-item .column-title span {
    display: block;
    color: var(--text-sm);
    font-size: .75rem;
}

.fileuploader-items .fileuploader-item .fileuploader-action.fileuploader-action-remove {
    background: #fee2e2;
    color: #dc2626;
    box-shadow: none;
}

.fileuploader-items .fileuploader-item .fileuploader-action.fileuploader-action-remove:hover {
    background: #fecaca;
}

.fileuploader-items .fileuploader-item .fileuploader-action.fileuploader-action-success {
    background: #dcfce7;
    color: var(--green);
    box-shadow: none;
}

.fileuploader-items .fileuploader-item .fileuploader-progressbar .bar {
    background: linear-gradient(90deg, var(--navy), var(--blue-mid));
    box-shadow: 0 2px 6px rgba(26, 43, 82, .3);
    border-radius: 4px;
}

.fileuploader-items .fileuploader-item .progress-bar2 .fileuploader-progressbar .bar {
    background: rgba(47, 80, 150, .06);
}

.fileuploader-items .fileuploader-item.upload-failed {
    background: #fef2f2;
    border-color: #fecaca;
}

/* ═══════════════════════════════════════════
   DATE PICKER
═══════════════════════════════════════════ */
/* The month arrows, centred in their 34px box. As inline images they sit in a line as tall as the
   calendar's 24px line height, 6px below centre; the form rendered in quirks mode until 2027.1,
   which keeps no line around an image alone. */
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    display: block;
}

/* ═══════════════════════════════════════════
   REVIEW TAB
═══════════════════════════════════════════ */
.notice-banner {
    background: linear-gradient(135deg, #f8f4fb, #f3ecf7);
    border: 1px solid #d4b3e6;
    border-radius: 11px;
    padding: 13px 18px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 24px;
}

.notice-banner i {
    color: var(--accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-banner p {
    font-size: .82rem;
    color: #5b2d7a;
    line-height: 1.55;
    margin: 0;
}

.review-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
}

.review-card-head {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: .95rem;
    color: var(--text-dk);
    background: var(--surface);
    border-left: 3px solid var(--navy);
}

.rch-green {
    border-left-color: var(--green);
}
.rch-green i { color: var(--green); }

.rch-navy {
    border-left-color: var(--navy);
}
.rch-navy i { color: var(--navy); }

.review-card-body {
    padding: 20px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
}

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

.data-lbl {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.data-val {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-dk);
    text-align: right;
}

.data-val.na {
    color: #c0c8d8;
    font-style: italic;
    font-weight: 400;
}

.parent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

@media (max-width: 576px) {
    .parent-grid {
        grid-template-columns:1fr;
    }
}

.mini-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.mini-card-head {
    padding: 10px 16px;
    font-weight: 600;
    font-size: .83rem;
    color: var(--text-dk);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border-left: 3px solid var(--navy);
}

.mch-navy {
    border-left-color: var(--navy);
}
.mch-navy i { color: var(--navy); }

.mch-purple {
    border-left-color: var(--purple);
}
.mch-purple i { color: var(--purple); }

.mini-card-body {
    padding: 14px 16px;
}

.mini-row {
    margin-bottom: 9px;
}

.mini-row:last-child {
    margin-bottom: 0;
}

.mini-lbl {
    font-size: .68rem;
    color: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 2px;
}

.mini-val {
    font-size: .87rem;
    font-weight: 600;
    color: var(--text-dk);
}

.mini-val.na {
    color: #c0c8d8;
    font-style: italic;
    font-weight: 400;
}

/* ═══════════════════════════════════════════
   PAYMENT
═══════════════════════════════════════════ */
.payment-card {
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(155, 89, 182, .15);
    margin-bottom: 18px;
}

.payment-card-head {
    background: linear-gradient(90deg, #7d3c98, var(--accent));
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: .97rem;
}

.payment-card-body {
    padding: 20px;
    background: #faf7fc;
}

/* `normal` and `start` are what quirks mode gave every table, and what these rows were sized
   against: inherited instead, the body's 1.5 line height makes each row 3px taller, and its
   `text-align: left` pulls an Arabic fee label away from its edge of the card. */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    line-height: normal;
    text-align: start;
}

.fee-table td {
    padding: 9px 0;
    font-size: .87rem;
    vertical-align: middle;
}

.fee-table tr:not(:last-child) td {
    border-bottom: 1px dashed var(--border);
}

.fee-table .fee-lbl {
    color: var(--text-sm);
}

.fee-table .fee-amt {
    text-align: right;
    font-weight: 600;
    color: var(--text-dk);
}

.fee-total td {
    border-top: 2px solid var(--accent) !important;
    padding-top: 13px !important;
}

.fee-total .fee-lbl {
    font-weight: 700;
    font-size: .9rem;
    color: var(--text-dk);
}

.fee-total .fee-amt {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
}

.pm-row {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pm-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 8px 14px;
    cursor: pointer;
    transition: all .2s;
    font-size: .81rem;
    font-weight: 500;
    color: var(--text-dk);
    background: var(--white);
    user-select: none;
}

.pm-pill input[type=radio] {
    display: none;
}

.pm-pill:hover {
    border-color: var(--accent);
    background: #f8f4fb;
}

.pm-pill.pm-sel {
    border-color: var(--accent);
    background: #f8f4fb;
    color: #5b2d7a;
}

.pm-pill.pm-sel i {
    color: var(--accent);
}

.security-note {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .75rem;
    color: var(--text-sm);
}

.security-note i {
    color: var(--green);
}

.confirm-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 0;
}

.confirm-block input[type=checkbox] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--navy);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.confirm-block label {
    font-size: .82rem;
    color: var(--text-sm);
    line-height: 1.55;
    margin: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.confirm-block label strong {
    color: var(--navy);
    font-weight: 600;
}

.sec-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 18px;
}

/* The school's notes card (_shared/admission_notes.css) takes this form's card-title face,
   so it sits among the review cards rather than beside them. */
.wizard-card .scl-adm-notes__title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.sec-divider span {
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.sec-divider::before, .sec-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ═══════════════════════════════════════════
   FOOTER BUTTONS
═══════════════════════════════════════════ */
/* 54px under the buttons: the bottom margin of 1em a form gets in quirks mode, which this page
   rendered in until 2027.1, added 14px to the 40px written here, and the card was laid out with it. */
.wizard-footer {
    padding: 8px 44px 54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-wiz-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-sm);
    font-size: .87rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    outline: none;
}

.btn-wiz-back:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.btn-wiz-back:disabled {
    opacity: .35;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-wiz-back:hover:not(:disabled) {
    background: var(--surface);
}

.btn-wiz-next {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-mid) 100%);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 5px 18px rgba(26, 43, 82, .3);
    outline: none;
}

.btn-wiz-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 26px rgba(26, 43, 82, .38);
}

.btn-wiz-next:active {
    transform: translateY(0);
}

/* Finish waits on the review step's tick boxes, and Next on an upload in flight - neither
   looked any different while it waited, so a click on it simply did nothing. */
.btn-wiz-next:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-wiz-checkout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--accent) 0%, #7d3c98 100%);
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: .93rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 6px 20px rgba(155, 89, 182, .38);
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-wiz-checkout::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15), transparent);
    opacity: 0;
    transition: opacity .2s;
}

.btn-wiz-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(155, 89, 182, .48);
}

.btn-wiz-checkout:hover::before {
    opacity: 1;
}

.btn-wiz-checkout:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-wiz-checkout .lock-ico {
    width: 27px;
    height: 27px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE + PRINT
═══════════════════════════════════════════ */
@media (max-width: 600px) {
    .wizard-header, .wizard-body, .wizard-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wizard-nav {
        padding-left: 20px;
        padding-right: 20px;
    }

    .wizard-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-footer > div {
        width: 100%;
    }

    .btn-wiz-next, .btn-wiz-checkout {
        width: 100%;
        justify-content: center;
    }

    .btn-wiz-back {
        width: 100%;
        justify-content: center;
        padding: 9px 20px;
        border: none;
        background: transparent;
        font-size: .82rem;
        color: var(--text-sm);
        box-shadow: none;
    }

    .parent-grid {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.scl-tracking-footer {
    position: relative;
    z-index: 1;
}

/* The SCL badge sits at the top of its line, so the line is exactly as tall as the logo. On the
   baseline it keeps room for a text descender under the logo - 6px more between the logo and the
   copyright line than this form has always shown. */
.scl-tracking-footer__link {
    vertical-align: top;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
    .scl-tracking-footer {
        display: none !important;
    }
}