/* =========================================================
   BETASELLER — GLOBAL DESIGN SYSTEM
========================================================= */

:root {
    --bg: #070707;
    --bg-soft: #0d0d0d;
    --bg-card: #111111;
    --bg-card-2: #151515;

    --gold: #d9a928;
    --gold-light: #f0c34d;
    --gold-dark: #a77b12;

    --white: #ffffff;
    --text: #f5f5f5;
    --muted: #a6a6a6;
    --muted-light: #c7c7c7;

    --green: #32c979;
    --red: #ef5350;
    --orange: #f0a72d;

    --border: rgba(255, 255, 255, 0.10);
    --border-soft: rgba(255, 255, 255, 0.06);
    --gold-border: rgba(217, 169, 40, 0.35);

    --input-bg: #080808;
    --input-border: #303030;

    --nav-bg: rgba(7, 7, 7, 0.92);
    --mobile-nav-bg: #101010;

    --container: 1180px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);

    color-scheme: dark;
}

/* =========================================================
   LIGHT THEME
========================================================= */

html[data-theme="light"] {
    --bg: #f7f7f5;
    --bg-soft: #eeeeeb;
    --bg-card: #ffffff;
    --bg-card-2: #f3f3f0;

    --gold: #b7830f;
    --gold-light: #9a6b00;
    --gold-dark: #7b5500;

    --white: #171717;
    --text: #171717;
    --muted: #626262;
    --muted-light: #454545;

    --green: #168a52;
    --red: #c93632;
    --orange: #c77a00;

    --border: rgba(0, 0, 0, 0.10);
    --border-soft: rgba(0, 0, 0, 0.07);
    --gold-border: rgba(183, 131, 15, 0.32);

    --input-bg: #ffffff;
    --input-border: #d5d5d0;

    --nav-bg: rgba(247, 247, 245, 0.92);
    --mobile-nav-bg: #ffffff;

    --shadow: 0 20px 60px rgba(0, 0, 0, 0.10);

    color-scheme: light;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

html,
body,
.topbar,
.hero,
.device-check,
.section,
.dealer-section,
.final-cta,
.footer,
.verification-card,
.check-box,
.feature-card,
.dealer-price-card,
.result {
    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}
img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================================
   CONTAINER
   THIS IS THE MOST IMPORTANT PART
========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(48px, 5.5vw, 78px);
    line-height: 1.02;
    font-weight: 800;
}

h2 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 750;
}

h3 {
    font-size: 22px;
    line-height: 1.25;
}

p {
    color: var(--muted);
}


/* =========================================================
   UTILITY
========================================================= */

.hidden {
    display: none !important;
}

.eyebrow {
    display: inline-block;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.16em;
    text-transform: uppercase;
}


/* =========================================================
   TOP NAVIGATION
========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--nav-bg);

    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: var(--white);

    font-size: 22px;
    font-weight: 800;

    letter-spacing: -0.03em;

    flex-shrink: 0;
}

.brandmark {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold);

    border-radius: 10px;

    color: var(--gold-light);

    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;

    background:
    linear-gradient(
        145deg,
        var(--bg-card-2),
        var(--bg-soft)
    );
}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.main-nav {
    display: flex;
    align-items: center;

    gap: 26px;
}

.main-nav > a:not(.btn) {
    color: var(--muted-light);

    font-size: 14px;
    font-weight: 600;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.main-nav > a:not(.btn):hover {
    color: var(--gold-light);
}

/* =========================================================
   THEME TOGGLE
========================================================= */

.theme-toggle {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    border: 1px solid var(--border);
    border-radius: 10px;

    color: var(--gold-light);

    background: var(--bg-card);

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);

    border-color: var(--gold-border);

    background: rgba(217, 169, 40, .08);
}

.theme-toggle svg {
    width: 19px;
    height: 19px;
}

.theme-sun,
.theme-moon {
    transition:
        opacity .2s ease,
        transform .2s ease;
}

/* Dark mode = show sun */
html[data-theme="dark"] .theme-sun {
    display: block;
}

html[data-theme="dark"] .theme-moon {
    display: none;
}

/* Light mode = show moon */
html[data-theme="light"] .theme-sun {
    display: none;
}

html[data-theme="light"] .theme-moon {
    display: block;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 20px;

    border-radius: 8px;

    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 750;

    white-space: nowrap;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #090909;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    box-shadow:
        0 8px 25px rgba(217,169,40,.18);
}

.btn-primary:hover {
    box-shadow:
        0 12px 32px rgba(217,169,40,.28);
}

.btn-outline {
    color: var(--white);

    border-color: var(--gold-border);

    background: rgba(217,169,40,.03);
}

.btn-outline:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(217,169,40,.08);
}

.btn-white {
    color: #111;

    background: #fff;
}

.btn-large {
    min-height: 54px;
    padding: 0 25px;

    font-size: 15px;
}

.btn-full {
    width: 100%;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu {
    display: none;

    width: 44px;
    height: 44px;

    padding: 9px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--bg-card);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu span {
    display: block;

    width: 100%;
    height: 2px;

    background: var(--gold-light);

    border-radius: 2px;
}

.mobile-nav {
    display: none;
}

/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding:
        95px
        0
        90px;

    background:
        radial-gradient(
            circle at 78% 35%,
            rgba(217,169,40,.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 20% 10%,
            rgba(217,169,40,.06),
            transparent 30%
        ),
        var(--bg);

    border-bottom: 1px solid var(--border-soft);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -220px;
    top: 80px;

    border-radius: 50%;

    background: rgba(217,169,40,.04);

    filter: blur(20px);

    pointer-events: none;
}

.hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.02fr)
        minmax(400px, .78fr);

    align-items: center;

    gap: 80px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 25px;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .13em;
}

.live-dot {
    width: 8px;
    height: 8px;

    display: inline-block;

    border-radius: 50%;

    background: var(--gold-light);

    box-shadow:
        0 0 0 5px rgba(217,169,40,.10);
}

.hero h1 {
    max-width: 720px;

    margin-bottom: 26px;
}

.hero h1 span,
.hero h2 span {
    color: var(--gold-light);
}

.hero-description {
    max-width: 650px;

    margin-bottom: 32px;

    font-size: 18px;
    line-height: 1.75;

    color: #bdbdbd;
}

.hero-actions {
    display: flex;
    align-items: center;

    gap: 13px;

    flex-wrap: wrap;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 22px;

    margin-top: 30px;

    flex-wrap: wrap;
}

.hero-proof span {
    color: #999;

    font-size: 13px;
}

.hero-proof span::first-letter {
    color: var(--gold);
}


/* =========================================================
   VERIFICATION CARD
========================================================= */

.verification-card {
    position: relative;

    padding: 27px;

    border: 1px solid rgba(217,169,40,.25);

    border-radius: var(--radius-lg);

    background:
    linear-gradient(
        145deg,
        var(--bg-card-2),
        var(--bg-soft)
    );

    box-shadow:
    0 35px 90px rgba(0,0,0,.25),
    inset 0 1px var(--border-soft);

    overflow: hidden;
}

.verification-card::before {
    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    top: -100px;
    right: -80px;

    border-radius: 50%;

    background: rgba(217,169,40,.08);

    filter: blur(30px);
}

.card-top {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding-bottom: 23px;

    border-bottom: 1px solid var(--border);
}

.verification-brand {
    display: flex;
    align-items: center;

    gap: 12px;
}

.shield {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    color: #111;

    background:
    linear-gradient(
        145deg,
        var(--bg-card-2),
        var(--bg-soft)
    );

    font-weight: 900;
}

.verification-brand strong,
.verification-brand small {
    display: block;
}

.verification-brand strong {
    font-size: 14px;
}

.verification-brand small {
    margin-top: 2px;

    color: #888;

    font-size: 11px;
}

.status-pill {
    padding: 5px 10px;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}

.status-active {
    color: var(--green);

    background: rgba(50,201,121,.10);

    border: 1px solid rgba(50,201,121,.25);
}


/* =========================================================
   DEVICE PREVIEW
========================================================= */

.device-preview {
    display: flex;
    align-items: center;

    gap: 24px;

    padding: 30px 0;
}

.phone {
    position: relative;

    width: 90px;
    height: 150px;

    flex-shrink: 0;

    padding: 7px;

    border-radius: 17px;

   border: 2px solid var(--border);

background: var(--bg-soft);

    box-shadow:
        0 15px 35px rgba(0,0,0,.45);
}

.phone-camera {
    position: absolute;

    top: 10px;
    left: 13px;

    width: 20px;
    height: 25px;

    border-radius: 8px;

    background: var(--bg-card-2);

box-shadow:
    0 0 0 2px var(--border);
}

.phone-screen {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background:
    radial-gradient(
        circle at 50% 35%,
        rgba(217,169,40,.22),
        transparent 45%
    ),
    var(--bg-card);
}

.phone-screen span {
    color: var(--gold-light);

    font-size: 21px;
    font-weight: 800;
}

.device-info h3 {
    margin:
        6px
        0
        5px;

    font-size: 25px;
}

.device-info p {
    margin: 0;

    font-size: 13px;
}

.device-info strong {
    color: var(--white);
}


/* =========================================================
   VERIFICATION LIST
========================================================= */

.verification-list {
    border-top: 1px solid var(--border);
}

.verification-item {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(255,255,255,.06);
}

.check-icon {
    width: 24px;
    height: 24px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: #111;

    background: var(--gold-light);

    font-size: 12px;
    font-weight: 900;
}

.verification-item strong,
.verification-item small {
    display: block;
}

.verification-item strong {
    font-size: 13px;
}

.verification-item small {
    margin-top: 2px;

    color: var(--muted);

    font-size: 11px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    padding-top: 18px;

    color: #666;

    font-size: 10px;
}

.card-footer span:last-child {
    color: #8b8b8b;
}


/* =========================================================
   DEVICE CHECK
========================================================= */

.device-check {
    position: relative;
    z-index: 5;

    padding:
        75px
        0;

   background:
    linear-gradient(
        180deg,
        var(--bg-soft),
        var(--bg-card-2)
    );
    
    border-bottom: 1px solid var(--border);
}

.check-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(400px, .8fr);

    align-items: center;

    gap: 80px;
}

.check-copy h2 {
    margin:
        10px
        0
        18px;
}

.check-copy h2 span {
    color: var(--gold-light);
}

.check-copy p {
    max-width: 590px;

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   TRUST LEVELS
========================================================= */

.trust-levels {
    display: flex;

    margin-top: 35px;

    max-width: 620px;
}

.trust-level {
    position: relative;

    flex: 1;

    padding:
        12px
        14px;

    border-top: 2px solid var(--border);
}

.trust-level::after {
    content: "";

    position: absolute;

    width: 100%;
    height: 1px;

    top: -2px;
    left: 0;
}

.trust-level strong {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 11px;
}

.trust-level span {
    color: var(--muted);

    font-size: 11px;
    font-weight: 600;
}

.trust-level.active {
    border-top-color: var(--gold);
}

.trust-level.active strong,
.trust-level.active span {
    color: var(--gold-light);
}


/* =========================================================
   CHECK BOX
========================================================= */

.check-box {
    padding: 30px;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background:
    linear-gradient(
        145deg,
        var(--bg-card-2),
        var(--bg-soft)
    );

    box-shadow: var(--shadow);
}

.input-label {
    display: block;

    color: var(--muted-light);

    font-size: 13px;
    font-weight: 700;
}

.input-wrapper {
    position: relative;

    margin-top: 10px;
}

.input-icon {
    position: absolute;

    top: 50%;
    left: 17px;

    transform: translateY(-50%);

    color: var(--gold-light);

    font-size: 23px;
}

.input-wrapper input {
    width: 100%;

    height: 58px;

    padding:
        0
        18px
        0
        50px;

    border: 1px solid var(--input-border);

    border-radius: 10px;

    outline: none;

    color: var(--text);

background: var(--input-bg);

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.input-wrapper input::placeholder {
    color: var(--muted);
}

.input-wrapper input:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 4px rgba(217,169,40,.08);
}

.check-box button {
    margin-top: 14px;
}


/* =========================================================
   RESULT
========================================================= */

.result {
    margin-top: 18px;

    padding: 20px;

    border-radius: 12px;

    border: 1px solid var(--border);

    background: var(--bg-card);
}

.result.good {
    border-color: rgba(50,201,121,.35);
}

.result.bad {
    border-color: rgba(239,83,80,.35);
}

.result strong {
    color: var(--white);
}

.result p {
    margin:
        8px
        0
        0;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding:
        105px
        0;
}

.section-heading {
    display: grid;

    grid-template-columns:
        1fr
        minmax(280px, 450px);

    align-items: end;

    gap: 60px;

    margin-bottom: 50px;
}

.section-heading h2 {
    margin:
        12px
        0
        0;
}

.section-heading h2 span {
    color: var(--gold-light);
}

.section-heading > p {
    margin: 0;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   FEATURE GRID
========================================================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.feature-card {
    position: relative;

    min-height: 340px;

    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background:
    linear-gradient(
        145deg,
        var(--bg-card),
        var(--bg-soft)
    );

    transition:
        transform .25s ease,
        border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: var(--gold-border);
}

.feature-number {
    color: var(--gold-light);

    font-size: 12px;
    font-weight: 800;
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    margin:
        35px
        0
        22px;

    border-radius: 14px;

    color: var(--gold-light);

    background: rgba(217,169,40,.08);

    border: 1px solid rgba(217,169,40,.15);

    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.7;
}

.feature-card a {
    position: absolute;

    bottom: 28px;

    color: var(--gold-light);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   DEALER SECTION
========================================================= */

.dealer-section {
    padding:
        100px
        0;

    background:
    radial-gradient(
        circle at 20% 50%,
        rgba(217,169,40,.08),
        transparent 35%
    ),
    var(--bg-card);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dealer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(380px, .65fr);

    align-items: center;

    gap: 100px;
}

.dealer-copy h2 {
    max-width: 650px;

    margin:
        12px
        0
        20px;
}

.dealer-copy h2 span {
    color: var(--gold-light);
}

.dealer-copy > p {
    max-width: 620px;

    font-size: 16px;
    line-height: 1.75;
}

.dealer-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin:
        30px
        0
        35px;
}

.dealer-features div {
    display: flex;
    align-items: center;

    gap: 9px;

    color: #c4c4c4;

    font-size: 13px;
}

.dealer-features span {
    color: var(--gold-light);

    font-weight: 800;
}


/* =========================================================
   DEALER PRICE CARD
========================================================= */

.dealer-price-card {
    padding: 35px;

    border: 1px solid var(--gold-border);

    border-radius: var(--radius-lg);

    background:
    linear-gradient(
        145deg,
        var(--bg-card-2),
        var(--bg-soft)
    );

    box-shadow: var(--shadow);
}

.dealer-badge {
    display: inline-block;

    padding: 6px 10px;

    border: 1px solid var(--gold-border);

    border-radius: 50px;

    color: var(--gold-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}

.dealer-price {
    margin:
        25px
        0
        8px;

    color: var(--text);

    font-size: 52px;
    font-weight: 800;

    letter-spacing: -.04em;
}

.dealer-price small {
    color: var(--muted);

    font-size: 14px;
    font-weight: 500;
}

.dealer-price-description {
    margin-bottom: 25px;

    font-size: 13px;
}

.fee-list {
    border-top: 1px solid var(--border);
}

.fee-row {
    display: flex;
    justify-content: space-between;

    padding:
        14px
        0;

    border-bottom: 1px solid rgba(255,255,255,.06);

    color: #999;

    font-size: 13px;
}

.fee-row strong {
    color: var(--text);
}

.unit-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;
    padding: 15px 17px;

    border-radius: 10px;

    background: rgba(217,169,40,.08);

    border: 1px solid rgba(217,169,40,.16);
}

.unit-box span {
    color: #999;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}

.unit-box strong {
    color: var(--gold-light);

    font-size: 14px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding:
        115px
        0;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(217,169,40,.09),
            transparent 42%
        ),
var(--bg);
}

.final-cta h2 {
    max-width: 800px;

    margin:
        15px
        auto
        15px;
}

.final-cta h2 span {
    color: var(--gold-light);
}

.final-cta p {
    margin-bottom: 30px;
}

.final-cta .hero-actions {
    justify-content: center;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding:
        55px
        0
        25px;

    border-top: 1px solid var(--border);

    background: var(--bg-soft);
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 40px;
}

.footer-brand p {
    max-width: 300px;

    margin:
        15px
        0
        0;

    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;

    gap: 25px;
}

.footer-links a {
    color: #888;

    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    grid-column: 1 / -1;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .container {
        width: min(
            calc(100% - 40px),
            900px
        );
    }

    .main-nav {
        gap: 16px;
    }

    .main-nav > a:not(.btn) {
        font-size: 13px;
    }

    .hero-grid,
    .check-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .verification-card {
        max-width: 620px;
        width: 100%;

        margin: 0 auto;
    }

    .check-box {
        max-width: 650px;
        width: 100%;

        margin: 0 auto;
    }

    .dealer-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .dealer-price-card {
        max-width: 600px;
        width: 100%;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    html {
        scroll-padding-top: 70px;
    }


    /* NAV */

    .nav-inner {
        min-height: 68px;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 68px;
        left: 16px;
        right: 16px;

        padding: 18px;

        flex-direction: column;
        align-items: stretch;

        gap: 6px;

        border: 1px solid var(--border);
        border-radius: 14px;

        background: var(--mobile-nav-bg);

        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav > a:not(.btn) {
        padding: 12px;

        border-radius: 8px;

        font-size: 14px;
    }

    .main-nav > a:not(.btn):hover {
        background: rgba(217,169,40,.06);
    }

    .main-nav .btn {
        width: 100%;
        margin-top: 4px;
    }

    .mobile-menu {
        display: flex;
    }


    /* HERO */

    .hero {
        padding:
            65px
            0
            60px;
    }

    .hero-grid {
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(43px, 13vw, 62px);
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-proof {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 10px;

        margin-top: 25px;
    }

    .hero-proof span {
        font-size: 11px;
    }


    /* VERIFICATION CARD */

    .verification-card {
        padding: 20px;
    }

    .device-preview {
        gap: 17px;
    }

    .phone {
        width: 70px;
        height: 120px;
    }

    .device-info h3 {
        font-size: 20px;
    }

    .card-footer {
        flex-direction: column;
    }


    /* CHECK */

    .device-check {
        padding:
            65px
            0;
    }

    .check-copy h2 {
        font-size: 38px;
    }

    .trust-levels {
        overflow-x: auto;

        padding-bottom: 8px;
    }

    .trust-level {
        min-width: 90px;
    }

    .check-box {
        padding: 20px;
    }


    /* GENERAL SECTION */

    .section {
        padding:
            75px
            0;
    }

    .section-heading {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 38px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 310px;
    }


    /* DEALER */

    .dealer-section {
        padding:
            75px
            0;
    }

    .dealer-copy h2 {
        font-size: 40px;
    }

    .dealer-features {
        grid-template-columns: 1fr;
    }

    .dealer-price-card {
        padding: 24px;
    }

    .dealer-price {
        font-size: 43px;
    }

    .unit-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }


    /* CTA */

    .final-cta {
        padding:
            80px
            0;
    }

    .final-cta h2 {
        font-size: 40px;
    }


    /* FOOTER */

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;

        gap: 12px;
    }

    .footer-bottom {
        grid-column: auto;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 768px) {

    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }

}

@media (max-width: 420px) {

    .container {
        width: calc(100% - 24px);
    }

    .brand {
        font-size: 19px;
    }

    .brandmark {
        width: 34px;
        height: 34px;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .verification-card {
        border-radius: 16px;
    }

    .device-preview {
        align-items: flex-start;
    }

    .check-copy h2,
    .section-heading h2,
    .dealer-copy h2,
    .final-cta h2 {
        font-size: 34px;
    }

    .dealer-price {
        font-size: 38px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
}

::selection {
    background: rgba(217,169,40,.30);
    color: white;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* =========================================================
   AUTHENTICATION
========================================================= */

.auth-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(217,169,40,.10),
            transparent 35%
        ),
        var(--bg);
}


.auth-shell {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


.auth-brand-wrap {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;

    padding-top: 28px;
}


.auth-main {
    width: 100%;

    flex: 1;

    display: flex;
    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding:
        45px
        24px
        70px;
}


.auth-card {
    width: 100%;
    max-width: 500px;

    padding: 36px;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--bg-card-2),
            var(--bg-soft)
        );

    box-shadow:
        0 35px 90px rgba(0,0,0,.28),
        inset 0 1px var(--border-soft);
}


.auth-header {
    margin-bottom: 28px;
}


.auth-header h1 {
    margin:
        10px
        0
        10px;

    font-size:
        clamp(34px, 5vw, 46px);

    line-height: 1.05;
}


.auth-header p {
    margin: 0;

    max-width: 430px;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   AUTH TABS
========================================================= */

.auth-tabs {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4px;

    padding: 4px;

    margin-bottom: 27px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--bg);
}


.auth-tabs button {
    min-height: 42px;

    border: 0;

    border-radius: 7px;

    background: transparent;

    color: var(--muted);

    font-size: 13px;

    font-weight: 750;

    transition:
        background .2s ease,
        color .2s ease;
}


.auth-tabs button:hover {
    color: var(--text);
}


.auth-tabs button.active {
    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    box-shadow:
        0 5px 18px rgba(217,169,40,.15);
}


/* =========================================================
   AUTH FIELDS
========================================================= */

.auth-field {
    margin-bottom: 17px;
}


.auth-field label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted-light);

    font-size: 13px;

    font-weight: 700;
}


.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;

    border: 1px solid var(--input-border);

    border-radius: 10px;

    outline: none;

    color: var(--text);

    background: var(--input-bg);

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.auth-field input,
.auth-field select {
    height: 52px;

    padding:
        0
        15px;
}


.auth-field textarea {
    padding: 13px 15px;

    resize: vertical;

    min-height: 95px;
}


.auth-field input::placeholder,
.auth-field textarea::placeholder {
    color: var(--muted);
}


.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: var(--gold);

    box-shadow:
        0 0 0 4px rgba(217,169,40,.08);
}


.auth-field select {
    cursor: pointer;
}


/* =========================================================
   PASSWORD
========================================================= */

.password-label-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.password-label-row label {
    margin-bottom: 7px;
}


.password-label-row span {
    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
}


.password-wrapper {
    position: relative;
}


.password-wrapper input {
    padding-right: 65px;
}


.password-toggle {
    position: absolute;

    top: 50%;
    right: 10px;

    transform: translateY(-50%);

    padding:
        6px
        8px;

    border: 0;

    background: transparent;

    color: var(--gold-light);

    font-size: 11px;

    font-weight: 750;
}


.password-toggle:hover {
    color: var(--gold);
}


/* =========================================================
   DEALER FIELDS
========================================================= */

.dealer-fields {
    margin:
        5px
        0
        20px;

    padding:
        20px;

    border:
        1px solid
        var(--gold-border);

    border-radius: 12px;

    background:
        rgba(217,169,40,.035);
}


.dealer-fields-heading {
    margin-bottom: 17px;
}


.dealer-fields-heading p {
    margin:
        5px
        0
        0;

    font-size: 12px;
}


.dealer-fields .auth-field:last-child {
    margin-bottom: 0;
}


/* =========================================================
   AUTH MESSAGE
========================================================= */

.auth-message {
    margin:
        5px
        0
        16px;

    padding:
        12px
        14px;

    border-radius: 9px;

    border: 1px solid;

    font-size: 12px;

    line-height: 1.5;
}


.auth-message.error {
    color: #ff8d8a;

    border-color:
        rgba(239,83,80,.30);

    background:
        rgba(239,83,80,.07);
}


.auth-message.success {
    color: var(--green);

    border-color:
        rgba(50,201,121,.30);

    background:
        rgba(50,201,121,.07);
}


/* =========================================================
   AUTH SUBMIT
========================================================= */

.auth-submit {
    margin-top: 5px;
}


.auth-submit:disabled {
    cursor: not-allowed;

    opacity: .65;

    transform: none;
}


.auth-footnote {
    margin:
        17px
        0
        0;

    text-align: center;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.6;
}


/* =========================================================
   BACK LINK
========================================================= */

.auth-back {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 22px;

    color: var(--muted);

    font-size: 12px;

    transition: color .2s ease;
}


.auth-back:hover {
    color: var(--gold-light);
}


/* =========================================================
   MOBILE AUTH
========================================================= */

@media (max-width: 600px) {

    .auth-brand-wrap {
        width: calc(100% - 32px);

        padding-top: 20px;
    }


    .auth-main {
        justify-content: flex-start;

        padding:
            35px
            16px
            50px;
    }


    .auth-card {
        padding: 24px 20px;

        border-radius: 17px;
    }


    .auth-header h1 {
        font-size: 35px;
    }


    .auth-header p {
        font-size: 13px;
    }


    .dealer-fields {
        padding: 16px;
    }

}


/* =========================================================
   PERSONAL DASHBOARD
========================================================= */

.app-shell {
    min-height: 100vh;
    display: flex;
    background: var(--bg);
}


/* =========================================================
   SIDEBAR
========================================================= */

.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;

    width: 250px;

    display: flex;
    flex-direction: column;

    padding: 28px 18px;

    background: var(--bg-soft);

    border-right: 1px solid var(--border);

    z-index: 100;
}

.app-sidebar .brand {
    padding: 0 10px;
    margin-bottom: 42px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    min-height: 46px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    border: 1px solid transparent;
    border-radius: 10px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 650;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.sidebar-link:hover {
    color: var(--text);

    background: rgba(217,169,40,.05);

    border-color: var(--border-soft);
}

.sidebar-link.active {
    color: var(--gold-light);

    background: rgba(217,169,40,.09);

    border-color: rgba(217,169,40,.18);
}

.sidebar-bottom {
    margin-top: auto;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding-top: 20px;

    border-top: 1px solid var(--border);
}


/* =========================================================
   DEALER / DASHBOARD SIDEBAR
   Keep sidebar within viewport and allow internal scrolling.
========================================================= */

.app-sidebar {
    height: 100vh;
    height: 100dvh;

    max-height: 100vh;
    max-height: 100dvh;

    display: flex;
    flex-direction: column;

    overflow: hidden;
    box-sizing: border-box;
}

.app-sidebar .brand {
    flex: 0 0 auto;
}

.app-sidebar .sidebar-nav,
.app-sidebar .sidebar-bottom {
    flex: 0 0 auto;
}

.app-sidebar .sidebar-nav {
    min-height: 0;
}

@media (max-height: 700px) {

    .app-sidebar {
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
    }

}


/* ---------------------------------------------------------
   BRAND
--------------------------------------------------------- */

.app-sidebar .brand {
    flex: 0 0 auto;
}


/* ---------------------------------------------------------
   MAIN NAVIGATION
   This becomes the scrollable section.
--------------------------------------------------------- */

.app-sidebar .sidebar-nav {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;

    padding-right: 4px;
}


/* ---------------------------------------------------------
   BOTTOM NAVIGATION
   Always stays visible at the bottom when there is room.
--------------------------------------------------------- */

.app-sidebar .sidebar-bottom {
    flex: 0 0 auto;

    padding-top: 10px;
}


/* ---------------------------------------------------------
   DESKTOP SIDEBAR
--------------------------------------------------------- */

@media (min-width: 861px) {

    .app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;

        overflow: hidden;
    }

}


/* ---------------------------------------------------------
   MOBILE SIDEBAR
--------------------------------------------------------- */

@media (max-width: 860px) {

    .app-sidebar {
        height: 100vh;
        height: 100dvh;

        max-height: 100vh;
        max-height: 100dvh;

        overflow: hidden;
    }

    .app-sidebar .sidebar-nav {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .app-sidebar .sidebar-bottom {
        flex: 0 0 auto;
    }

}

/* =========================================================
   MAIN DASHBOARD AREA
========================================================= */

.app-main {
    width: calc(100% - 250px);

    min-height: 100vh;

    margin-left: 250px;

    padding:
        42px
        48px
        60px;
}


/* =========================================================
   DASHBOARD HEADER
========================================================= */

.dashboard-header {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto 55px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
}

.dashboard-header .eyebrow {
    margin-bottom: 10px;
}

.dashboard-header h1 {
    margin:
        0
        0
        10px;

    font-size:
        clamp(38px, 4vw, 58px);

    line-height: 1.05;
}

.dashboard-header .muted {
    max-width: 650px;

    margin: 0;

    font-size: 15px;
    line-height: 1.7;
}

.dashboard-user {
    flex-shrink: 0;
}

.user-avatar,
.account-avatar {
    display: grid;
    place-items: center;

    color: #111;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(217,169,40,.15);
}

.user-avatar {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    font-size: 17px;
}


/* =========================================================
   DASHBOARD SECTIONS
========================================================= */

.dashboard-section {
    width: 100%;
    max-width: 1180px;

    margin:
        0
        auto
        58px;
}

.dashboard-section:last-of-type {
    margin-bottom: 45px;
}

.dashboard-section .section-heading {
    display: block;

    margin-bottom: 22px;
}

.dashboard-section .section-heading h2 {
    margin:
        7px
        0
        0;

    font-size: 28px;
    line-height: 1.15;
}


/* =========================================================
   QUICK ACTIONS
========================================================= */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.dashboard-card {
    position: relative;

    min-height: 190px;

    display: flex;
    flex-direction: column;

    padding: 24px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            var(--bg-soft)
        );

    overflow: hidden;

    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);

    border-color: var(--gold-border);

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);
}

.dashboard-card-primary {
    border-color:
        rgba(217,169,40,.30);

    background:
        linear-gradient(
            145deg,
            rgba(217,169,40,.10),
            var(--bg-card)
        );
}

.card-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border: 1px solid rgba(217,169,40,.20);

    border-radius: 10px;

    color: var(--gold-light);

    background: rgba(217,169,40,.08);

    font-size: 20px;
    font-weight: 800;
}

.dashboard-card h3 {
    margin:
        0
        0
        7px;

    font-size: 17px;
    line-height: 1.3;
}

.dashboard-card p {
    max-width: 310px;

    margin: 0;

    font-size: 12px;
    line-height: 1.65;
}

.card-arrow {
    position: absolute;

    right: 22px;
    bottom: 21px;

    color: var(--gold-light);

    font-size: 18px;

    transition:
        transform .2s ease;
}

.dashboard-card:hover .card-arrow {
    transform: translateX(4px);
}


/* =========================================================
   STATISTICS
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.stat-card {
    min-height: 150px;

    display: flex;
    flex-direction: column;

    padding: 23px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background: var(--bg-card);
}

.stat-label {
    color: var(--muted);

    font-size: 12px;
    font-weight: 650;
}

.stat-value {
    display: block;

    margin:
        13px
        0
        4px;

    color: var(--text);

    font-size: 35px;
    line-height: 1;

    letter-spacing: -.04em;
}

.stat-description {
    color: var(--muted);

    font-size: 11px;
}


/* =========================================================
   ACCOUNT CARD
========================================================= */

.account-card {
    display: flex;
    align-items: center;

    gap: 18px;

    padding: 23px 25px;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            var(--bg-soft)
        );
}

.account-avatar {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    border-radius: 14px;

    font-size: 19px;
}

.account-details h3 {
    margin:
        0
        3px;

    font-size: 17px;
}

.account-details p {
    margin:
        0
        8px;

    font-size: 12px;
}

.account-badge {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    border: 1px solid rgba(217,169,40,.20);

    border-radius: 50px;

    color: var(--gold-light);

    background: rgba(217,169,40,.06);

    font-size: 10px;
    font-weight: 750;
}


/* =========================================================
   DASHBOARD FOOTER
========================================================= */

.dashboard-footer {
    width: 100%;
    max-width: 1180px;

    margin: 10px auto 0;

    padding-top: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 11px;
}

.dashboard-footer span:first-child {
    color: var(--muted-light);

    font-weight: 700;
}


/* =========================================================
   DASHBOARD TABLET
========================================================= */

@media (max-width: 1050px) {

    .app-sidebar {
        width: 220px;
    }

    .app-main {
        width: calc(100% - 220px);

        margin-left: 220px;

        padding:
            35px
            30px
            50px;
    }

    .dashboard-grid,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-card:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   DASHBOARD MOBILE
========================================================= */

@media (max-width: 760px) {

    .app-shell {
        display: block;
    }

    .app-sidebar {
        position: relative;

        width: 100%;

        height: auto;

        padding:
            16px
            16px
            12px;

        border-right: 0;

        border-bottom: 1px solid var(--border);
    }

    .app-sidebar .brand {
        margin:
            0
            0
            15px;

        padding: 0 4px;
    }

    .sidebar-nav {
        display: grid;

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 5px;
    }

    .sidebar-link {
        min-height: 40px;

        justify-content: center;

        padding:
            0
            7px;

        text-align: center;

        font-size: 11px;
    }

    .sidebar-bottom {
        display: grid;

        grid-template-columns: 1fr 1fr;

        gap: 5px;

        margin-top: 10px;

        padding-top: 10px;
    }

    .app-main {
        width: 100%;

        margin-left: 0;

        padding:
            30px
            16px
            45px;
    }

    .dashboard-header {
        margin-bottom: 40px;
    }

    .dashboard-header h1 {
        font-size: 38px;
    }

    .dashboard-header .muted {
        font-size: 13px;
    }

    .user-avatar {
        width: 42px;
        height: 42px;

        font-size: 15px;
    }

    .dashboard-section {
        margin-bottom: 45px;
    }

    .dashboard-section .section-heading h2 {
        font-size: 24px;
    }

    .dashboard-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card:last-child {
        grid-column: auto;
    }

    .dashboard-card {
        min-height: 175px;
    }

    .stat-card {
        min-height: 135px;
    }

    .account-card {
        align-items: flex-start;

        padding: 20px;
    }

    .dashboard-footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 6px;
    }
}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */

@media (max-width: 420px) {

    .sidebar-nav {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .sidebar-bottom {
        grid-template-columns:
            1fr 1fr;
    }

    .dashboard-header {
        align-items: flex-start;
    }

    .dashboard-header h1 {
        font-size: 34px;
    }

    .dashboard-header .muted {
        font-size: 12px;
    }

    .dashboard-card {
        padding: 20px;
    }

    .account-card {
        gap: 14px;
    }
}

/* =========================================================
   DEALER DASHBOARD
========================================================= */

.dealer-status-card {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 26px;

    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            var(--bg-card-2),
            var(--bg-soft)
        );

    box-shadow: var(--shadow);
}


.dealer-status-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    flex-shrink: 0;

    border-radius: 14px;

    color: var(--green);

    background: rgba(50, 201, 121, .10);

    border: 1px solid rgba(50, 201, 121, .25);

    font-size: 22px;
    font-weight: 800;
}


.dealer-status-content {
    flex: 1;
}


.status-label {
    display: block;

    margin-bottom: 5px;

    color: var(--gold-light);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}


.dealer-status-content h3 {
    margin:
        0
        0
        5px;

    font-size: 20px;
}


.dealer-status-content p {
    max-width: 650px;

    margin: 0;

    font-size: 13px;
    line-height: 1.7;
}


@media (max-width: 700px) {

    .dealer-status-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .dealer-status-card .btn {
        width: 100%;
    }

}
/* =========================================================
   MORADERA DEALER DASHBOARD V1
   Premium dashboard overrides
   ========================================================= */

.dashboard-mobile-bar {
    display: none;
}

.dashboard-sidebar-overlay {
    display: none;
}


/* ---------------------------------------------------------
   SIDEBAR
   --------------------------------------------------------- */

.app-sidebar {
    width: 260px;
    padding: 30px 20px 22px;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.018),
            transparent 28%
        ),
        var(--bg-soft);
}

.app-sidebar .brand {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 44px;
}

.app-sidebar .brand img {
    width: 145px;
    height: auto;
    display: block;
    object-fit: contain;
}

.sidebar-nav {
    gap: 6px;
}

.sidebar-link {
    min-height: 47px;
    padding: 0 15px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
}

.sidebar-link:hover {
    color: var(--text);
    background: rgba(217,169,40,.055);
    border-color: rgba(217,169,40,.12);
}

.sidebar-link.active {
    color: var(--gold-light);
    background:
        linear-gradient(
            90deg,
            rgba(217,169,40,.12),
            rgba(217,169,40,.035)
        );
    border-color: rgba(217,169,40,.20);
}

.sidebar-bottom {
    gap: 6px;
    padding-top: 18px;
}


/* ---------------------------------------------------------
   MAIN
   --------------------------------------------------------- */

.app-main {
    width: calc(100% - 260px);
    margin-left: 260px;
    padding: 32px 52px 60px;
}

.dashboard-header {
    max-width: 1240px;
    margin: 0 auto 48px;
}

.dashboard-header .eyebrow {
    margin-bottom: 9px;
}

.dashboard-header h1 {
    margin-bottom: 9px;
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.dashboard-header .muted {
    max-width: 680px;
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.user-avatar {
    width: 50px;
    height: 50px;
    font-size: 17px;
}


/* ---------------------------------------------------------
   SECTIONS
   --------------------------------------------------------- */

.dashboard-section {
    max-width: 1240px;
    margin: 0 auto 52px;
}

.dashboard-section .section-heading {
    margin-bottom: 20px;
}

.dashboard-section .section-heading h2 {
    margin-top: 6px;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -.025em;
}


/* ---------------------------------------------------------
   DEALER STATUS
   --------------------------------------------------------- */

.dealer-status-card {
    min-height: 125px;
    padding: 25px 27px;
    gap: 21px;

    border-radius: 16px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(217,169,40,.075),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--bg-card-2),
            var(--bg-soft)
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,.18);
}

.dealer-status-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
}

.status-label {
    margin-bottom: 5px;
    font-size: 10px;
    letter-spacing: .14em;
}

.dealer-status-content h3 {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: 800;
}

.dealer-status-content p {
    max-width: 720px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   QUICK ACTIONS
   --------------------------------------------------------- */

.dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-card {
    min-height: 205px;
    padding: 25px;

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            var(--bg-soft)
        );
}

.dashboard-card-primary {
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(217,169,40,.09),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(217,169,40,.105),
            var(--bg-card)
        );
}

.card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 25px;
    border-radius: 11px;
    font-size: 20px;
}

.dashboard-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 800;
}

.dashboard-card p {
    max-width: 330px;
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.card-arrow {
    right: 23px;
    bottom: 22px;
    font-size: 19px;
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    min-height: 160px;
    padding: 24px 25px;
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            var(--bg-soft)
        );
}

.stat-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
}

.stat-value {
    margin: 14px 0 7px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -.045em;
}

.stat-description {
    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   ACCOUNT
   --------------------------------------------------------- */

.account-card {
    min-height: 100px;
    padding: 22px 25px;
    gap: 18px;
    border-radius: 15px;
}

.account-avatar {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    font-size: 19px;
}

.account-details h3 {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 800;
}

.account-details p {
    margin-bottom: 8px;
    font-size: 14px;
}

.account-badge {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 800;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.dashboard-footer {
    max-width: 1240px;
    margin: 5px auto 0;
    padding-top: 22px;
    font-size: 12px;
}

.dashboard-footer span:first-child {
    color: var(--text);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .app-sidebar {
        width: 230px;
    }

    .app-main {
        width: calc(100% - 230px);
        margin-left: 230px;
        padding: 30px 32px 55px;
    }

    .dashboard-grid,
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-card:last-child {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 860px) {

    body.dashboard-nav-open {
        overflow: hidden;
    }

    .dashboard-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 900;

        height: 68px;
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 0 17px;

        background:
            rgba(8,8,8,.94);

        border-bottom: 1px solid var(--border);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .dashboard-mobile-brand {
        display: flex;
        align-items: center;
    }

    .dashboard-mobile-brand img {
        width: 92px;
        height: 48px;
        display: block;
        object-fit: contain;
    }

    .dashboard-menu-toggle {
        width: 42px;
        height: 42px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;

        padding: 0;

        border: 1px solid rgba(255,255,255,.12);
        border-radius: 10px;

        background: var(--bg-soft);
        cursor: pointer;
    }

    .dashboard-menu-toggle span {
        width: 19px;
        height: 2px;
        display: block;

        border-radius: 3px;
        background: #fff;

        transition:
            transform .2s ease,
            opacity .2s ease;
    }

    .app-sidebar {
        position: fixed;

        top: 0;
        left: 0;
        bottom: 0;

        width: min(290px, 84vw);
        height: 100vh;

        padding: 28px 20px;

        z-index: 1000;

        transform: translateX(-105%);
        transition: transform .25s ease;

        border-right: 1px solid var(--border);
        border-bottom: 0;

        overflow-y: auto;
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .app-sidebar .brand {
        margin-bottom: 38px;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .sidebar-link {
        justify-content: flex-start;
        min-height: 47px;
        padding: 0 15px;
        text-align: left;
        font-size: 13px;
    }

    .sidebar-bottom {
        display: flex;
        flex-direction: column;
        margin-top: auto;
        padding-top: 18px;
    }

    .dashboard-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 950;

        display: block;

        background: rgba(0,0,0,.62);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .25s ease,
            visibility .25s ease;

        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .dashboard-sidebar-overlay.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .app-main {
        width: 100%;
        margin-left: 0;
        padding: 30px 20px 48px;
    }

    .dashboard-header {
        margin-bottom: 42px;
    }

    .dashboard-header h1 {
        font-size: clamp(36px, 9vw, 46px);
    }

    .dashboard-header .muted {
        font-size: 14px;
    }

    .dashboard-section {
        margin-bottom: 44px;
    }

    .dashboard-section .section-heading h2 {
        font-size: 26px;
    }

    .dashboard-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card:last-child {
        grid-column: auto;
    }

    .dashboard-card {
        min-height: 185px;
    }

    .dealer-status-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 23px;
    }

    .dealer-status-card .btn {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .dashboard-mobile-bar {
        height: 64px;
        padding: 0 13px;
    }

    .dashboard-mobile-brand img {
        width: 84px;
    }

    .dashboard-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .app-main {
        padding: 25px 15px 42px;
    }

    .dashboard-header {
        margin-bottom: 36px;
    }

    .dashboard-header h1 {
        font-size: 35px;
    }

    .dashboard-header .muted {
        font-size: 13px;
    }

    .user-avatar {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .dashboard-section .section-heading h2 {
        font-size: 24px;
    }

    .dealer-status-card {
        gap: 17px;
        padding: 20px;
    }

    .dealer-status-content h3 {
        font-size: 18px;
    }

    .dealer-status-content p {
        font-size: 13px;
    }

    .dashboard-card {
        min-height: 175px;
        padding: 21px;
    }

    .dashboard-card h3 {
        font-size: 17px;
    }

    .dashboard-card p {
        font-size: 13px;
    }

    .stat-card {
        min-height: 140px;
        padding: 21px;
    }

    .stat-value {
        font-size: 34px;
    }

    .account-card {
        padding: 20px;
        align-items: flex-start;
    }

    .account-details h3 {
        font-size: 17px;
    }

    .account-details p {
        font-size: 13px;
        word-break: break-word;
    }

    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        font-size: 11px;
    }
}

/* =========================================================
   DEALER ONBOARDING
========================================================= */

.onboarding-page {
    min-height: 100vh;
    background: var(--bg);
}

.onboarding-shell {
    width: 100%;
    min-height: 100vh;
}

.onboarding-topbar {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onboarding-brand {
    display: inline-flex;
    align-items: center;
}

.onboarding-brand img {
    display: block;
    object-fit: contain;
}

.onboarding-back {
    color: var(--muted-light);
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.onboarding-back:hover {
    color: var(--gold-light);
}

.onboarding-main {
    width: min(900px, calc(100% - 40px));
    margin: 50px auto 100px;
}

.onboarding-intro {
    max-width: 700px;
    margin-bottom: 42px;
}

.onboarding-intro h1 {
    margin: 10px 0 14px;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.8px;
}

.onboarding-intro p {
    margin: 0;
    max-width: 650px;
    color: var(--muted-light);
    font-size: 16px;
    line-height: 1.7;
}


/* Progress */

.onboarding-progress {
    display: flex;
    align-items: center;
    margin-bottom: 34px;
}

.onboarding-step {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    opacity: .42;
}

.onboarding-step.active {
    opacity: 1;
}

.step-number {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
}

.onboarding-step.active .step-number {
    border-color: var(--gold-border);
    color: var(--gold-light);
}

.onboarding-step strong {
    display: block;
    font-size: 13px;
}

.onboarding-step div span {
    display: block;
    margin-top: 3px;
    color: var(--muted-light);
    font-size: 11px;
}

.onboarding-progress-line {
    height: 1px;
    flex: 1;
    min-width: 25px;
    margin: 0 16px;
    background: var(--border);
}


/* Card */

.onboarding-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 14px;
    overflow: hidden;
}

.onboarding-card-header {
    padding: 30px 32px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
}

.onboarding-card-header h2 {
    margin: 8px 0 8px;
    font-size: 26px;
}

.onboarding-card-header p {
    margin: 0;
    color: var(--muted-light);
    font-size: 13px;
    line-height: 1.6;
}


/* Status */

.onboarding-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 11px;
    white-space: nowrap;
}

.onboarding-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.onboarding-status.success {
    color: var(--green);
}

.onboarding-status.warning {
    color: #d6a84f;
}

.onboarding-status.danger {
    color: #d96b6b;
}

.onboarding-status.pending {
    color: var(--muted-light);
}


/* Form */

.onboarding-form {
    padding: 32px;
}

.onboarding-field {
    margin-bottom: 25px;
}

.onboarding-field label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 600;
}

.onboarding-field input,
.onboarding-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    color: #fff;
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.onboarding-field textarea {
    resize: vertical;
    min-height: 110px;
}

.onboarding-field input:focus,
.onboarding-field textarea:focus {
    border-color: var(--gold-border);
    box-shadow: 0 0 0 3px rgba(196, 164, 90, .08);
}

.onboarding-field small {
    display: block;
    margin-top: 7px;
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.5;
}


/* Notice */

.onboarding-notice {
    display: flex;
    gap: 13px;
    padding: 16px;
    margin-top: 8px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    border-radius: 9px;
}

.notice-icon {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 1px solid var(--gold-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold-light);
    font-size: 12px;
}

.onboarding-notice strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
}

.onboarding-notice p {
    margin: 0;
    color: var(--muted-light);
    font-size: 11px;
    line-height: 1.6;
}


/* Actions */

.onboarding-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 5px;
}

.onboarding-actions .btn {
    text-decoration: none;
}

.onboarding-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.onboarding-actions .btn-primary span {
    font-size: 17px;
}


/* Mobile */

@media (max-width: 700px) {

    .onboarding-topbar {
        width: min(100% - 28px, 1180px);
        padding: 18px 0;
    }

    .onboarding-main {
        width: min(100% - 28px, 900px);
        margin-top: 35px;
    }

    .onboarding-intro {
        margin-bottom: 30px;
    }

    .onboarding-intro h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .onboarding-progress {
        align-items: flex-start;
    }

    .onboarding-progress-line {
        margin: 19px 8px 0;
    }

    .onboarding-step {
        flex-direction: column;
        text-align: center;
        gap: 7px;
    }

    .onboarding-step div span {
        display: none;
    }

    .onboarding-card-header {
        padding: 24px 20px;
        flex-direction: column;
    }

    .onboarding-form {
        padding: 24px 20px;
    }

    .onboarding-actions {
        flex-direction: column-reverse;
    }

    .onboarding-actions .btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

}

@media (max-width: 420px) {

    .onboarding-intro h1 {
        font-size: 34px;
    }

    .onboarding-step strong {
        font-size: 11px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 9px;
    }

    .onboarding-progress-line {
        min-width: 10px;
        margin-left: 5px;
        margin-right: 5px;
    }

}


/* =========================================================
   DEALER ONBOARDING — STAGE 2
   Verification documents
========================================================= */


/* ---------------------------------------------------------
   FLASH MESSAGES
--------------------------------------------------------- */

.onboarding-message {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 22px;

    padding: 15px 17px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: var(--bg-card);

    font-size: 13px;

    line-height: 1.6;
}

.onboarding-message.success {
    color: var(--green);

    border-color:
        rgba(50,201,121,.28);

    background:
        rgba(50,201,121,.055);
}

.onboarding-message.error {
    color: #ff8d8a;

    border-color:
        rgba(239,83,80,.30);

    background:
        rgba(239,83,80,.055);
}

.onboarding-message-icon {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid currentColor;

    font-size: 11px;
    font-weight: 800;
}

.onboarding-message strong {
    display: block;

    margin-bottom: 4px;

    color: inherit;
}

.onboarding-message ul {
    margin: 5px 0 0;
    padding-left: 18px;
}

.onboarding-message li {
    margin-bottom: 3px;
}


/* ---------------------------------------------------------
   SECTION LABEL
--------------------------------------------------------- */

.onboarding-section-label {
    margin-bottom: 22px;

    padding-bottom: 10px;

    border-bottom: 1px solid var(--border);

    color: var(--muted-light);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   DOCUMENT SECTION
--------------------------------------------------------- */

.onboarding-documents-heading {
    margin:
        42px
        0
        22px;

    padding-top: 28px;

    border-top: 1px solid var(--border);
}

.onboarding-documents-heading h3 {
    margin:
        8px
        0
        6px;

    font-size: 23px;
}

.onboarding-documents-heading p {
    max-width: 620px;

    margin: 0;

    font-size: 13px;

    line-height: 1.7;
}


/* ---------------------------------------------------------
   DOCUMENT UPLOAD CARD
--------------------------------------------------------- */

.document-upload-card {
    position: relative;

    margin-bottom: 16px;

    padding: 21px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            var(--bg-card-2),
            var(--bg-soft)
        );

    transition:
        border-color .2s ease,
        background .2s ease;
}

.document-upload-card:hover {
    border-color:
        var(--gold-border);
}


/* Header */

.document-upload-header {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 12px;
}

.document-upload-icon {
    width: 43px;
    height: 43px;

    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border: 1px solid var(--gold-border);

    border-radius: 11px;

    color: var(--gold-light);

    background:
        rgba(217,169,40,.07);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .03em;
}

.document-upload-header strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}

.document-upload-header span {
    display: inline-flex;

    padding:
        3px
        7px;

    border-radius: 50px;

    color: var(--gold-light);

    background:
        rgba(217,169,40,.07);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .05em;

    text-transform: uppercase;
}


/* Description */

.document-description {
    margin:
        0
        0
        15px;

    color: var(--muted-light);

    font-size: 12px;

    line-height: 1.65;
}


/* Existing document */

.existing-document {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
    padding: 11px 12px;

    border: 1px solid var(--border);

    border-radius: 8px;

    background: var(--bg);
}

.existing-document strong,
.existing-document small {
    display: block;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}

.existing-document strong {
    max-width: 430px;

    color: var(--text);

    font-size: 11px;
}

.existing-document small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;
}


/* Document status */

.document-status {
    flex: 0 0 auto;

    padding:
        5px
        8px;

    border: 1px solid var(--border);

    border-radius: 50px;

    font-size: 9px;

    font-weight: 800;

    white-space: nowrap;
}

.document-status.success {
    color: var(--green);

    border-color:
        rgba(50,201,121,.25);

    background:
        rgba(50,201,121,.07);
}

.document-status.pending {
    color: var(--gold-light);

    border-color:
        rgba(217,169,40,.25);

    background:
        rgba(217,169,40,.06);
}

.document-status.danger {
    color: var(--red);

    border-color:
        rgba(239,83,80,.25);

    background:
        rgba(239,83,80,.06);
}


/* ---------------------------------------------------------
   FILE PICKER
--------------------------------------------------------- */

.document-native-input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.document-file-input {
    min-height: 67px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding:
        13px
        15px;

    border: 1px dashed
        rgba(217,169,40,.32);

    border-radius: 9px;

    background:
        rgba(217,169,40,.025);

    cursor: pointer;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.document-file-input:hover {
    border-color: var(--gold);

    background:
        rgba(217,169,40,.06);
}

.document-file-main {
    color: var(--gold-light);

    font-size: 12px;
    font-weight: 750;
}

.document-file-hint {
    color: var(--muted);

    font-size: 10px;

    text-align: right;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 700px) {

    .onboarding-message {
        font-size: 12px;
    }

    .onboarding-documents-heading {
        margin-top: 32px;
        padding-top: 24px;
    }

    .onboarding-documents-heading h3 {
        font-size: 21px;
    }

    .document-upload-card {
        padding: 17px;
    }

    .document-file-input {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .document-file-hint {
        text-align: left;
    }

    .existing-document {
        align-items: flex-start;
        flex-direction: column;
    }

    .existing-document strong {
        max-width: 100%;
    }

    .document-status {
        align-self: flex-start;
    }

}

@media (max-width: 420px) {

    .document-upload-header {
        align-items: flex-start;
    }

    .document-upload-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .document-upload-header strong {
        font-size: 13px;
    }

}

/* =========================================================
   ADMIN DEALER VERIFICATION
   ========================================================= */

.admin-verification-page {
    min-height: 100vh;
}

.admin-verification-topbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, .08));
}

.admin-verification-brand {
    display: inline-flex;
    align-items: center;
}

.admin-verification-brand img {
    display: block;
    object-fit: contain;
}

.admin-verification-admin {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-verification-admin > div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.admin-verification-admin strong {
    font-size: 14px;
}

.admin-verification-admin span {
    font-size: 12px;
    opacity: .6;
}

.admin-verification-main {
    width: min(1500px, calc(100% - 48px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.admin-verification-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.admin-verification-heading h1 {
    margin: 8px 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.03em;
}

.admin-verification-heading p {
    margin: 0;
    max-width: 650px;
    opacity: .68;
    line-height: 1.6;
}


/* ---------------------------------------------------------
   STATS
   --------------------------------------------------------- */

.admin-verification-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.admin-verification-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    background: var(--card, #fff);
    border: 1px solid var(--border, rgba(0, 0, 0, .08));
    border-radius: 16px;
    transition: transform .18s ease, border-color .18s ease;
}

.admin-verification-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, .18);
}

.admin-stat-label {
    font-size: 12px;
    opacity: .6;
}

.admin-verification-stat strong {
    font-size: 28px;
    letter-spacing: -.03em;
}


/* ---------------------------------------------------------
   CARD
   --------------------------------------------------------- */

.admin-verification-card {
    background: var(--card, #fff);
    border: 1px solid var(--border, rgba(0, 0, 0, .08));
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
}


/* ---------------------------------------------------------
   FILTER
   --------------------------------------------------------- */

.admin-verification-filter {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 220px auto;
    align-items: end;
    gap: 16px;
    padding: 20px;
}

.admin-verification-filter label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 600;
    opacity: .68;
}

.admin-verification-filter input,
.admin-verification-filter select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--border, rgba(0, 0, 0, .12));
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    box-sizing: border-box;
}

.admin-verification-filter-actions {
    display: flex;
    gap: 8px;
}


/* ---------------------------------------------------------
   LIST HEADER
   --------------------------------------------------------- */

.admin-verification-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, .08));
}

.admin-verification-list-header h2 {
    margin: 6px 0 0;
    font-size: 20px;
}

.admin-verification-result-count {
    font-size: 13px;
    opacity: .6;
}


/* ---------------------------------------------------------
   DEALER ROW
   --------------------------------------------------------- */

.admin-dealer-list {
    width: 100%;
}

.admin-dealer-row {
    display: grid;
    grid-template-columns:
        minmax(250px, 1.8fr)
        110px
        150px
        170px
        130px
        110px;

    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border, rgba(0, 0, 0, .07));
}

.admin-dealer-row:last-child {
    border-bottom: 0;
}

.admin-dealer-main {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.admin-dealer-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, .06);
    font-size: 14px;
    font-weight: 700;
}

.admin-dealer-identity {
    min-width: 0;
}

.admin-dealer-identity h3 {
    margin: 0 0 5px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-dealer-identity span {
    display: block;
    font-size: 12px;
    opacity: .58;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-dealer-id,
.admin-dealer-documents,
.admin-dealer-submitted {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.admin-dealer-id span,
.admin-dealer-documents span,
.admin-dealer-submitted span {
    font-size: 11px;
    opacity: .55;
}

.admin-dealer-id strong,
.admin-dealer-documents strong,
.admin-dealer-submitted strong {
    font-size: 12px;
}

.admin-dealer-documents small {
    font-size: 11px;
    opacity: .6;
}

.danger-text {
    opacity: 1 !important;
}

.admin-dealer-status {
    display: flex;
    align-items: center;
}

.admin-dealer-action {
    display: flex;
    justify-content: flex-end;
}

.admin-dealer-action .btn {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   EMPTY
   --------------------------------------------------------- */

.admin-verification-empty {
    text-align: center;
    padding: 70px 24px;
}

.admin-verification-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
}

.admin-verification-empty h3 {
    margin: 0 0 8px;
}

.admin-verification-empty p {
    margin: 0;
    opacity: .6;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 1200px) {

    .admin-verification-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-dealer-row {
        grid-template-columns:
            minmax(230px, 1.5fr)
            100px
            140px
            130px
            120px;
    }

    .admin-dealer-action {
        grid-column: 5;
        grid-row: 1;
    }
}


@media (max-width: 900px) {

    .admin-verification-main {
        width: min(100% - 28px, 1500px);
        padding-top: 32px;
    }

    .admin-verification-topbar {
        padding: 0 18px;
    }

    .admin-verification-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-verification-filter {
        grid-template-columns: 1fr 1fr;
    }

    .admin-verification-filter-actions {
        grid-column: 1 / -1;
    }

    .admin-dealer-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .admin-dealer-main {
        grid-column: 1 / -1;
    }

    .admin-dealer-action {
        grid-column: auto;
        grid-row: auto;
        justify-content: flex-start;
    }
}


@media (max-width: 600px) {

    .admin-verification-topbar {
        min-height: 64px;
    }

    .admin-verification-brand img {
        width: 96px;
        height: 48px;
    }

    .admin-verification-heading h1 {
        font-size: 28px;
    }

    .admin-verification-stats {
        grid-template-columns: 1fr 1fr;
    }

    .admin-verification-stat {
        padding: 16px;
    }

    .admin-verification-stat strong {
        font-size: 24px;
    }

    .admin-verification-filter {
        grid-template-columns: 1fr;
    }

    .admin-verification-filter-actions {
        grid-column: auto;
    }

    .admin-dealer-row {
        grid-template-columns: 1fr;
    }

    .admin-dealer-main,
    .admin-dealer-action {
        grid-column: auto;
    }

    .admin-dealer-action {
        justify-content: flex-start;
    }

}
