﻿:root {
    --sm-primary-bg: #2098e8;
    --sm-primary-text: #1789d6;
    --sm-primary-soft: #eaf6fd;
    --sm-primary-border: #b7def6;
    --sm-secondary-bg: #ffffff;
    --sm-secondary-bg-hover: #f3f4f6;
    --sm-secondary-border: #d1d5db;
    --sm-secondary-text: #374151;
    --sm-button-radius: 8px;
    --sm-dropdown-radius: 12px;
    --sm-dropdown-shadow: 0 14px 34px rgba(15,23,42,.14), 0 4px 12px rgba(15,23,42,.08);
    --green: var(--sm-primary-bg);
    --green-dark: var(--sm-primary-text);
    --muted: #6b7a86;
    --bg: #ffffff;
    --text: #052024;
    --glass: rgba(2,12,23,0.03);
    --max-width: 1180px;
    --tick-size: 18px;
    --soft-gray: #f7f9f8;
}

/* base */
* {
    box-sizing: border-box;
    font-family: Inter,system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
}

html, body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--green);
}

/* Solid masthead backdrop.
   The fixed top-micro header + progress bar are transparent, so on scroll the slide
   content used to bleed THROUGH them and visually collide with "Finish setting up".
   This full-bleed white band sits above the slide content (z<progress) but below the
   header/progress, so content now scrolls cleanly BEHIND a proper app bar. */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    background: var(--bg, #fff);
    border-bottom: 1px solid rgba(2,12,23,.06);
    box-shadow: 0 8px 20px -16px rgba(2,12,23,.35);
    z-index: 1300; /* above slides (1/2), below progress-top (1400) & top-micro (1500) */
    pointer-events: none;
}

/* top micro header — elevated z-index */
.top-micro {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 12px;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: auto;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.micro-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(90deg,var(--green),var(--green-dark));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800
}

.micro-title {
    font-weight: 400;
    font-size: 15px;
    color: #053027;
}
/* no bold per request */
.micro-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 400;
    color: var(--muted);
    font-size: 15px;
}

/* progress - below top micro; z-index slightly lower so top micro appears above it */
.progress-top {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 62px;
    height: 12px;
    background: #eef6ed;
    z-index: 1400;
    border-radius: 999px;
    overflow: hidden;
}

    .progress-top .fill {
        height: 100%;
        width: 0;
        background: linear-gradient(90deg,var(--green),var(--green-dark));
        transition: width .36s ease;
    }

/* scaffold: decreased top spacing so form is closer to top area, but large enough to avoid overlap */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: 100px;
}

header {
    height: 0;
    display: none;
}
/* removed header text completely as requested */
main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 12px 18px 12px;
}

.wrap {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    gap: 18px;
    margin: 0 auto;
    align-items: flex-start;
}

/* slides container sits under the fixed header/progress; lower z-index so top bars remain visible */
.slides {
    flex: 1;
    position: relative;
    min-height: 600px;
    z-index: 1;
    overflow: visible;
}

.slide {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .42s cubic-bezier(.2,.9,.2,1),opacity .28s;
}

    .slide.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
        z-index: 2;
    }

    .slide.left {
        transform: translateX(-30%);
        opacity: 0;
        z-index: 1;
    }

    .slide.right {
        transform: translateX(30%);
        opacity: 0;
        z-index: 1;
    }

/* text */
.title {
    font-size: 20px;
    font-weight: 700;
}

.subtitle {
    color: var(--muted);
    font-size: 13px;
}

.small {
    font-size: 13px;
}

.muted {
    color: var(--muted);
}

/* grids & form basics */
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.full {
    grid-column: 1/-1;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

input[type=text], input[type=email], input[type=password], input[type=tel], select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e7eeea;
    font-size: 14px;
    background: transparent;
    color: var(--text);
    transition: box-shadow .12s,border-color .12s,transform .12s;
}

input::placeholder {
    color: #9bb0b0;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--sm-primary-soft), 0 12px 36px rgba(32,152,232,0.06);
    transform: translateY(-1px);
}

textarea {
    min-height: 120px;
}

/* plan info bar: bigger text, green ticks visible */
.plan-info-bar {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e9efea;
    background: var(--soft-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.plan-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
    color: var(--muted);
    font-size: 16px;
}

    .plan-info-item .plan-info-tick {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /*background: linear-gradient(90deg,var(--green),var(--green-dark));
        color: #fff;*/
        font-weight: 700;
        font-size: 12px;
    }

.plan-info-tick::after {
    content: "";
    width: 8px;
    margin-left: 7px;
    margin-top: 14px;
    font-size: 11px;
    height: 15px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    transform: translate(-50%, -62%) rotate(45deg);
    border-radius: 2px;
    box-sizing: border-box;
    background: transparent;
    border-color: #1ca02c;
}
/* plan cards */
.plan-grid {
    display: flex;
    gap: 14px;
}

.plan-card {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--glass);
    background: #fff;
    cursor: pointer;
    transition: transform .12s,box-shadow .12s;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

    .plan-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(2,12,23,0.05);
    }

    .plan-card.active {
        border: 2px solid var(--green);
        background: linear-gradient(180deg, rgba(32,152,232,0.05), transparent);
    }

    .plan-card.recommended::after {
        content: "Recommended";
        position: absolute;
        right: 12px;
        top: 12px;
        background: linear-gradient(90deg,var(--green),var(--green-dark));
        color: #fff;
        font-size: 11px;
        padding: 6px 8px;
        border-radius: 6px;
        font-weight: 700;
    }

    .plan-card.expanded {
        min-height: 380px;
    }

    .plan-card input.plan-radio {
        display: none;
    }

.plan-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-header {
    padding-bottom: 8px;
    text-align: center;
}

.plan-title.centered {
    font-size: 16px;
    font-weight: 800;
}

.plan-sep {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, rgba(2,12,23,0.03), rgba(2,12,23,0.03));
    margin: 8px 0;
}

.plan-payment {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    justify-content: center;
    margin: 12px 0;
}

.p-currency {
    font-size: 12px;
    color: var(--muted);
}

.p-big {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.p-month {
    font-size: 13px;
    color: var(--muted);
    margin-left: 6px;
    align-self: flex-end;
}

.p-save {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

.plan-list {
    margin-top: 12px;
    padding-left: 12px;
    color: var(--muted);
    font-size: 13px;
}

    .plan-list li {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.feat-small-tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    /*background: linear-gradient(90deg,var(--green),var(--green-dark));*/
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*color: #fff;*/
    font-size: 11px;
}

    .feat-small-tick::after {
        content: "";
        width: 4px;
        margin-left: 5px;
        margin-top: 8px;
        font-size: 11px;
        height: 10px;
        border-right: 3px solid #ffffff;
        border-bottom: 3px solid #ffffff;
        transform: translate(-50%, -62%) rotate(45deg);
        border-radius: 2px;
        box-sizing: border-box;
        background: transparent;
        border-color: #2ca01c;
    }

.more-features {
    display: none;
}
/* hidden by default */
.view-more {
    /*display: block;
    margin-top: 8px;
    text-align: center;
    color: var(--green);
    cursor: pointer;
    font-weight: 700;*/
    display: block;
    margin-top: 8px;
    text-align: center;
    color: var(--green);
    cursor: pointer;
    font-weight: 500;
    background-color: #f0f0f0;
    padding: 6px;
    color: #444;
    text-decoration: none;
}

/* billing cards */
.billing-cards {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin-top: 12px;
}

.billing-card {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--glass);
    cursor: pointer;
    background: #fff;
    min-height: 100px;
}

    .billing-card:hover {
        box-shadow: 0 12px 30px rgba(2,12,23,0.04);
    }

.billing-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .billing-left input.billing-radio {
        margin: 0;
        width: 20px;
        height: 20px;
        transform: scale(1.05);
        accent-color: var(--green);
        cursor: pointer;
    }

.billing-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.billing-right {
    text-align: right;
    padding-left: 12px;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.orig-price {
    font-size: 12px;
    color: var(--muted);
    text-decoration: line-through;
}

.disc-price {
    font-size: 26px;
    font-weight: 900;
    color: var(--text);
}

.save-text {
    font-size: 12px;
    color: var(--muted);
}

.billing-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

/* trial pill */
.trial-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border-radius: 999px;
    padding: 12px;
    border: 1px solid #e7eeea;
    background: #fff;
    cursor: pointer;
}

.pill-track {
    width: 48px;
    height: 26px;
    border-radius: 999px;
    background: #eef6ec;
    display: inline-flex;
    align-items: center;
    padding: 3px;
}

.pill-knob {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    transform: translateX(0);
    transition: transform .18s;
}

.trial-pill.active {
    border-color: var(--green);
    background: linear-gradient(90deg,rgba(44,160,28,0.03),transparent);
}

    .trial-pill.active .pill-track {
        background: linear-gradient(90deg,var(--green),var(--green-dark));
    }

    .trial-pill.active .pill-knob {
        transform: translateX(22px);
    }

.pill-label {
    flex: 1;
    text-align: start;
    font-weight: 700;
}

/* phone / cc list */
.phone-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.cc-wrap {
    position: relative;
}

.cc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #e7eeea;
    background: #fff;
    cursor: pointer;
    min-width: 104px;
    justify-content: center;
}

.cc-list-wrap {
    position: absolute;
    top: 46px;
    left: 0;
    display: none;
    background: #fff;
    border: 1px solid #e7eeea;
    border-radius: 8px;
    padding: 6px;
    z-index: 600;
    width: 320px;
    max-height: 260px;
    overflow: auto;
}

.cc-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
}

    .cc-item:hover {
        background: #f4faf4;
    }

/* password area: show-text clickable and reduced spacing */
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.show-wrap {
    display: flex;
    align-items: center;
}

.show-hide {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
}

.show-text {
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
}

/* pw meter & reqs */
.pw-meter {
    height: 8px;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 8px;
}

    .pw-meter .bar {
        height: 100%;
        width: 0;
        background: linear-gradient(90deg,#ff7a00,var(--green));
        transition: width .18s;
    }

.pw-reqs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

    .pw-reqs .req {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--muted);
    }

.mini-req {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: transparent;
}

.req.ok .mini-req {
    background: linear-gradient(90deg,var(--green),var(--green-dark));
    color: #fff;
}

    .req.ok .mini-req::after {
        content: "";
        width: 4px;
        margin-left: 4px;
        margin-top: 8px;
        font-size: 11px;
        height: 7px;
        border-right: 3px solid #ffffff;
        border-bottom: 3px solid #ffffff;
        transform: translate(-50%, -62%) rotate(45deg);
        border-radius: 2px;
        box-sizing: border-box;
        background: transparent;
    }

.field {
    position: relative;
}

    /* input needs some space so text doesn't overlap the tick */
    .field input {
        padding-right: 40px; /* adjust depending on tick size */
        box-sizing: border-box;
    }

.tick {
    --tick-size: 18px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: var(--tick-size);
    height: var(--tick-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transition: all .14s ease;
    box-sizing: border-box;
    z-index: 2; /* ⬅️ ensures it's above input */
}

/* show circle when valid */
.field.valid .tick {
    opacity: 1;
    border-color: var(--green);
}

/* check mark inside circle */
.tick::after {
    content: "";
    position: absolute;
    left: 52%;
    top: 52%;
    width: 3px;
    height: 8px;
    border-right: 3px solid var(--green);
    border-bottom: 3px solid var(--green);
    transform: translate(-50%, -60%) rotate(45deg);
    border-radius: 2px;
}


/* invalid */
.field.invalid input, .field.invalid textarea {
    border-color: #e75b5b !important;
    background: linear-gradient(90deg,rgba(231,91,91,0.02),rgba(231,91,91,0.01));
}

.errorline {
    margin-top: 8px;
    color: #b22222;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity .12s;
}

/* show error whether .errorline is inside .field or sits just after it as a sibling */
.field.invalid .errorline,
.field.invalid + .errorline,
.field.invalid ~ .errorline {
    opacity: 1;
}

/* Fields that aren't wrapped in a .field (the phone country-code + number combo) have no
   .field.invalid to key off, so drive visibility from aria-hidden — which the wizard JS and
   the server-rendered ValidationMessageFor both set. Without this the message occupied space
   but was fully transparent. */
.errorline[aria-hidden="false"] {
    opacity: 1;
}

/* An errorline with nothing in it must not render its "!" bullet. */
.errorline:empty {
    display: none;
}

.errorline:before {
    content: "!";
    display: inline-flex;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #b22222;
    color: #b22222;
    font-weight: 700;
    font-size: 11px;
}

/* card icons + layout: three logos only */
.card-number-wrap {
    position: relative;
}

    .card-number-wrap input {
        padding-right: 120px;
    }

.card-icons {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-logos {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .card-logos svg {
        opacity: 0.32;
        transform-origin: center;
        transition: opacity .18s, transform .18s;
    }

        .card-logos svg.active {
            opacity: 1;
            transform: scale(1.05);
            filter: drop-shadow(0 6px 12px rgba(0,0,0,0.06));
        }

/* cvc area: back icon positioned so it won't overlap tick; floating preview appears above */
.cvc-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.cvc-back-icon {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.card-back {
    position: fixed;
    width: 220px;
    height: 130px;
    border-radius: 10px;
    background: linear-gradient(180deg,#0b2430,#123842);
    color: #fff;
    z-index: 1200;
    box-shadow: 0 20px 50px rgba(2,12,23,0.35);
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    font-family: Inter, system-ui, -apple-system;
}

    .card-back .cvc-circle {
        width: 44px;
        height: 28px;
        border-radius: 4px;
        background: rgba(255,255,255,0.12);
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        font-weight: 700;
        border: 2px dashed rgba(255,255,255,0.15);
    }

/* exp row sizing: fill entire row; cvc slightly wider */
.exp-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    width: 100%;
}

    .exp-row > .small-field {
        flex: 1 1 0;
        min-width: 0;
    }

        .exp-row > .small-field:last-child {
            flex: 1.25 1 0;
        }
/* cvc slightly wider */

/* card-grid layout */
.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .card-grid .full {
        grid-column: 1/-1;
    }

.small-field {
    max-width: 100%;
}

/* review */
.review-grid .review-card {
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .15s;
    background: #fafbfc;
}

    .review-grid .review-card:hover {
        border-color: var(--green);
        box-shadow: 0 4px 16px rgba(32,152,232,0.10);
        transform: translateY(-1px);
    }

/* final */
.final-checklist {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    width: 520px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .final-checklist li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        border-radius: 8px;
        border: 1px dashed var(--glass);
        background: #fbfffb;
    }

.mini-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid #c9d9cf;
}

.final-checklist li.ok .mini-circle {
    background: linear-gradient(90deg,var(--green),var(--green-dark));
    color: #fff;
    border-color: transparent;
}

.final-progress-bar {
    height: 18px;
    border-radius: 10px;
    background: #eef6ed;
    overflow: hidden;
    margin-top: 12px;
}

#finalProgressBar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,var(--green),var(--green-dark));
    transition: width .45s ease;
}

/* nav fixed */
.nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    z-index: 1600;
    pointer-events: none;
}

.nav-inner {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    backdrop-filter: blur(2px);
}

.btn {
    background: var(--green);
    color: white;
    border: 1px solid var(--green);
    padding: 0 16px;
    min-height: 40px;
    border-radius: var(--sm-button-radius);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    .btn:hover {
        background: var(--green-dark);
        border-color: var(--green-dark);
        box-shadow: 0 8px 18px rgba(32,152,232,.18);
    }

    .btn.ghost {
        background: var(--sm-secondary-bg);
        color: var(--sm-secondary-text);
        border: 1px solid var(--sm-secondary-border);
    }

    .btn.ghost:hover {
        background: var(--sm-secondary-bg-hover);
        color: var(--sm-secondary-text);
        border-color: var(--sm-secondary-border);
        box-shadow: none;
    }

    .btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* summary */
.summary {
    width: 320px;
    border-left: 1px dashed var(--glass);
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .summary h3 {
        margin: 0;
        font-size: 16px;
    }

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.total {
    font-weight: 900;
    font-size: 18px;
}

#planFeaturesSummary .small {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.small-tick {
    width: 10px;
    height: 2px;
    background: var(--green);
    display: inline-block;
    transform: translateY(1px);
    margin-right: 8px;
}

.terms-and-condition {
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: start;
}

@media (max-width:980px) {
    .wrap {
        flex-direction: column;
        padding: 0 12px;
    }

    .summary {
        width: 100%;
        border-left: none;
        border-top: 1px dashed var(--glass);
        padding-top: 18px;
    }

    .plan-grid {
        flex-direction: column;
    }

    .billing-cards {
        flex-direction: column;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cc-list-wrap {
        width: 100%;
    }

    .micro-center {
        position: static;
        transform: none;
    }

    .top-micro {
        position: fixed;
        left: 12px;
        right: 12px;
        top: 12px;
    }

    .exp-row {
        flex-direction: column;
    }

        .exp-row > .small-field {
            flex: 1 1 auto;
        }

            .exp-row > .small-field:last-child {
                flex: 1 1 auto;
            }

    .page {
        padding-top: 110px;
        padding-bottom: 80px;
    }
}

/* AdminEmail & CompanyName field validation */
.field.admin-email,
.field.company-name {
    position: relative;
}

    .field.admin-email.valid .tick,
    .field.company-name.valid .tick {
        opacity: 1;
        border-color: var(--green);
        background: #fff;
    }

    .field.admin-email.invalid input,
    .field.company-name.invalid input {
        border-color: #e75b5b !important;
        background: linear-gradient(90deg, rgba(231,91,91,0.02), rgba(231,91,91,0.01));
    }

    .field.admin-email .errorline,
    .field.company-name .errorline {
        margin-top: 8px;
        color: #b22222;
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0;
        transition: opacity .12s;
    }

    /* ensure admin/company errors show whether .errorline is inside the .field or a sibling after it */
    .field.admin-email.invalid .errorline,
    .field.admin-email.invalid + .errorline,
    .field.admin-email.invalid ~ .errorline,
    .field.company-name.invalid .errorline,
    .field.company-name.invalid + .errorline,
    .field.company-name.invalid ~ .errorline {
        opacity: 1;
    }

    .field.admin-email .tick::after,
    .field.company-name .tick::after {
        content: "✓";
        color: var(--green);
        font-size: 11px;
    }

/* terms error (not inside a .field) */
#termsError {
    opacity: 0;
    transition: opacity .15s;
}
#termsError[aria-hidden="false"] {
    opacity: 1;
}

/* shake animation for validation errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-4px); }
    30%, 70% { transform: translateX(4px); }
}
.field.invalid {
    animation: shake .35s ease-in-out;
}

/* btn hover / active */
.btn:not(:disabled):hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 12px rgba(32,152,232,0.2);
}
.btn:not(:disabled):active {
    transform: scale(0.98);
}
