/* ============================================================
   VERX WAREHOUSE — Design System
   Fonts: Syne (headings) + DM Sans (body)
   Theme: Light sidebar, clean white content
   ============================================================ */

/* ── CSS Variables ── */
:root {
    --font-display: 'Montserrat', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    /* Brand */
    --brand-red:    #E63223;
    --brand-red-lt: #fdf1f0;
    --brand-red-dk: #c01f12;

    /* Neutral */
    --gray-50:   #f9fafb;
    --gray-100:  #f3f4f6;
    --gray-200:  #e5e7eb;
    --gray-300:  #d1d5db;
    --gray-400:  #9ca3af;
    --gray-500:  #6b7280;
    --gray-600:  #4b5563;
    --gray-700:  #374151;
    --gray-800:  #1f2937;
    --gray-900:  #111827;
    --gray-900:  #111827;

    /* Sidebar — light */
    --sidebar-bg:         #ffffff;
    --sidebar-border:     #eef0f3;
    --sidebar-width:      230px;
    --sidebar-nav-hover:  #f5f6f8;
    --sidebar-active-bg:  #fdf1f0;
    --sidebar-active-txt: var(--brand-red);
    --sidebar-txt:        #6b7280;
    --sidebar-txt-active: var(--brand-red);
    --sidebar-section-lbl:#b0b7c3;

    /* Content */
    --content-bg:  #f4f5f7;
    --header-h:    68px;

    /* Stat colors */
    --stat-pink:   #ec4899;
    --stat-blue:   #3b82f6;
    --stat-amber:  #f59e0b;
    --stat-orange: #f97316;
    --stat-green:  #22c55e;

    /* Status colors */
    --status-approved:   #16a34a;
    --status-pending:    #ca8a04;
    --status-dispatched: #2563eb;
    --status-delivered:  #0891b2;

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Shadow */
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg:  0 10px 30px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);
    --sidebar-shadow: 1px 0 0 0 var(--sidebar-border), 4px 0 24px rgba(0,0,0,0.04);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--content-bg);
    color: var(--gray-800);
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════
   SHELL / LAYOUT
══════════════════════════════════════════ */
.verx-shell {
    display: flex;
    min-height: 100vh;
}

.verx-main {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ══════════════════════════════════════════
   SIDEBAR — light theme
══════════════════════════════════════════ */
.verx-sidebar {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    box-shadow: var(--sidebar-shadow);
    display: flex;
    flex-direction: column;
    z-index: 50;
    overflow: hidden;
}

/* ── Logo area ── */
.sidebar-logo {
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--sidebar-border);
    flex-shrink: 0;
}

.sidebar-logo__link {
    display: flex;
    align-items: center;
    width: 100%;
}

/* Real logo image — sized to fit nicely */
.sidebar-logo__img {
    height: 38px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Fallback text logo (shown when image fails) */
.sidebar-logo__fallback {
    align-items: center;
    gap: 10px;
}

.logo-mark-light {
    width: 34px; height: 34px;
    background: var(--brand-red);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.logo-v-light {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 17px;
    color: #fff;
    line-height: 1;
}

.logo-text-light { display: flex; flex-direction: column; line-height: 1; }

.logo-brand-light {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    color: var(--gray-900);
    letter-spacing: 0.04em;
}

.logo-sub-light {
    font-size: 8.5px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-top: 1px;
}

/* ── Nav ── */
.sidebar-nav {
    flex: 1;
    padding: 20px 14px;
    overflow-y: auto;
    scrollbar-width: none;
}
.sidebar-nav::-webkit-scrollbar { display: none; }

.nav-section-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--sidebar-section-lbl);
    letter-spacing: 0.13em;
    padding: 0 10px;
    margin-bottom: 8px;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    color: var(--sidebar-txt);
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    position: relative;
    width: 100%;
}

.nav-link:hover {
    background: var(--sidebar-nav-hover);
    color: var(--gray-800);
}

.nav-item.active .nav-link {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-txt);
    font-weight: 600;
}

/* Red pill indicator on active item (right edge) */
.nav-pill {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    background: var(--brand-red);
    border-radius: 3px 0 0 3px;
}

.nav-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
    justify-content: center;
}

/* Active icon fills red */
.nav-item.active .nav-icon svg {
    stroke: var(--brand-red);
}

.nav-label { flex: 1; }

/* ── Sidebar Footer ── */
.sidebar-footer {
    border-top: 1px solid var(--sidebar-border);
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* User card */
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    border: 1px solid var(--sidebar-border);
}

.user-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-red) 0%, #ff7a6b 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.03em;
}

.user-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    gap: 1px;
}

.user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.user-phone {
    font-size: 11px;
    color: var(--gray-400);
    line-height: 1.2;
}

/* Logout button */
.sidebar-logout {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    transition: background 0.15s, color 0.15s;
    margin-top: 2px;
}

.sidebar-logout:hover {
    background: #fff0ef;
    color: var(--brand-red);
}

.sidebar-logout__icon {
    display: flex;
    align-items: center;
    width: 20px;
    justify-content: center;
    opacity: 0.7;
}

.sidebar-logout:hover .sidebar-logout__icon { opacity: 1; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.verx-header {
    position: sticky; top: 0;
    height: var(--header-h);
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    z-index: 40;
}

.greeting-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.greeting-sub {
    font-size: 12.5px;
    color: var(--gray-400);
    margin-top: 1px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--gray-400);
    pointer-events: none;
}

.search-input {
    width: 320px;
    height: 38px;
    padding: 0 14px 0 36px;
    border: 1.5px solid var(--gray-200);
    border-radius: 40px;
    font-size: 12.5px;
    color: var(--gray-700);
    background: var(--gray-50);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input::placeholder { color: var(--gray-400); }
.search-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(230,50,35,0.08);
    background: #fff;
}

.header-bell {
    position: relative;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-500);
    transition: all 0.15s;
}

.header-bell:hover { border-color: var(--brand-red); color: var(--brand-red); }

.bell-dot {
    position: absolute;
    top: 8px; right: 8px;
    width: 7px; height: 7px;
    background: var(--brand-red);
    border-radius: 50%;
    border: 1.5px solid #fff;
}

/* ══════════════════════════════════════════
   CONTENT
══════════════════════════════════════════ */
.verx-content {
    flex: 1;
    padding: 24px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Date Range Bar ── */
.content-filter-bar { margin-bottom: -12px; }

.date-range-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.date-input-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--gray-500);
}

.date-input {
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--gray-700);
    font-weight: 500;
    background: transparent;
    cursor: pointer;
}

.date-arrow { color: var(--gray-400); }

.date-apply-btn {
    padding: 7px 18px;
    background: var(--gray-900);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.date-apply-btn:hover { background: var(--brand-red); }

.date-clear-btn {
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.15s;
}

.date-clear-btn:hover { color: var(--brand-red); }

/* ── Dashboard Sections ── */
.dashboard-section { display: flex; flex-direction: column; gap: 16px; }

.section-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
}

.section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.section-sub { font-size: 12.5px; color: var(--gray-400); margin-top: 2px; }

.see-all-link {
    display: flex; align-items: center; gap: 4px;
    font-size: 13px; font-weight: 600;
    color: var(--brand-red);
    transition: gap 0.15s;
}
.see-all-link:hover { gap: 7px; }

/* ── Stat Cards ── */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

.stat-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 20px 22px 20px 26px;
    border: 1.5px solid var(--gray-100);
    border-left: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.stat-card__value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    color: var(--gray-900);
}

.stat-card__label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-card__glow {
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 100%;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    opacity: 1;
}

/* Stat Color Variants */
.stat-card--default .stat-card__value { color: var(--brand-red); }
.stat-card--default .stat-card__glow  { background: var(--brand-red); }

.stat-card--pink .stat-card__value    { color: var(--stat-pink); }
.stat-card--pink .stat-card__glow     { background: var(--stat-pink); }

.stat-card--blue .stat-card__value    { color: var(--stat-blue); }
.stat-card--blue .stat-card__glow     { background: var(--stat-blue); }

.stat-card--amber .stat-card__value   { color: var(--stat-amber); }
.stat-card--amber .stat-card__glow    { background: var(--stat-amber); }

.stat-card--orange .stat-card__value  { color: var(--stat-orange); }
.stat-card--orange .stat-card__glow   { background: var(--stat-orange); }

.stat-card--green .stat-card__value   { color: var(--stat-green); }
.stat-card--green .stat-card__glow    { background: var(--stat-green); }

/* ── Chart Cards ── */
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

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

.chart-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-100);
    padding: 20px 22px;
}

.chart-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.chart-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
}

.chart-period {
    font-size: 11.5px;
    color: var(--gray-400);
    font-weight: 500;
}

.chart-body canvas { width: 100% !important; }

/* ── Order Cards ── */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

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

.order-card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-100);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow 0.15s;
}

.order-card:hover { box-shadow: var(--shadow-sm); }

.order-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.order-card-link:hover .order-card {
    transform: translateY(-1px);
}

/* Head: ORDER ID (left) + DATE & TIME (right) */
.order-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--gray-200);
}

/* Horizontal label-left value-right row (SALES PERSON, MANAGER) */
.order-card__kv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px dashed var(--gray-200);
}

.order-card__kv .field-value { text-align: right; }

/* Compact variant used inside dealer section */
.order-card__kv--sm { padding: 5px 0; }

/* Dealer block — stacked kv rows, no individual separators */
.order-card__dealer {
    border-top: 1px dashed var(--gray-200);
    border-bottom: 1px dashed var(--gray-200);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-card__dealer .order-card__kv {
    border-top: none;
}

/* Footer */
.order-card__foot {
    padding-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-card__foot-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

/* Shared field column */
.order-card__field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.order-card__field--right { text-align: right; align-items: flex-end; }
.order-card__field--status { flex: 0 0 auto; }

.field-label {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.field-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.field-value--mono { font-family: 'Inter', monospace; font-size: 12.5px; }
.field-value--amount { color: var(--brand-red); font-size: 14px; }

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
}

.status-badge--approved   { background: var(--status-approved); }
.status-badge--pending    { background: var(--status-pending); }
.status-badge--dispatched { background: var(--status-dispatched); }
.status-badge--delivered  { background: var(--status-delivered); }

/* ══════════════════════════════════════════
   GUEST / LOGIN PAGE
══════════════════════════════════════════ */
.verx-guest-body {
    min-height: 100vh;
    background: #0a0c0f;
    display: flex;
    align-items: stretch;
}

.login-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Left Hero */
.login-hero {
    /* flex: 1.1; */
     flex: 0 0 70%;
    position: relative;
    background:
        linear-gradient(160deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.8) 100%),
        url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1200&q=80') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 60px 56px;
    overflow: hidden;
}

.login-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to right,
        transparent 60%,
        rgba(10,12,15,0.6) 100%
    );
    pointer-events: none;
}

.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.login-hero__content { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: rgba(230,50,35,0.15);
    padding: 4px 12px;
    border-radius: 40px;
    border: 1px solid rgba(230,50,35,0.3);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 18px;
}

.hero-headline em {
    font-style: normal;
    color: var(--brand-red);
}

.hero-body {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    max-width: 360px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-stats { display: flex; gap: 36px; }

.hero-stat { display: flex; flex-direction: column; gap: 2px; }

.hero-stat__num {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.hero-stat__label {
    font-size: 11.5px;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* Right Form Panel */
.login-form-panel {
    /* flex: 0 0 480px; */
      flex: 0 0 30%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 56px;
}

.login-form-inner {
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px; height: 44px;
    background: var(--brand-red);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
}

.brand-logo__v {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    line-height: 1;
}

.brand-text { display: flex; flex-direction: column; }

.brand-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 8px;
    font-weight: 600;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-heading h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 6px;
}

.login-heading p {
    font-size: 13.5px;
    color: var(--gray-400);
    line-height: 1.5;
}

.login-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    color: #dc2626;
}

.login-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    color: #16a34a;
}

.login-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--checkbox { flex-direction: row; align-items: center; }

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-forgot {
    font-size: 12px;
    color: var(--brand-red);
    font-weight: 500;
    transition: opacity 0.15s;
}

.form-forgot:hover { opacity: 0.75; }

.form-input-wrap { position: relative; }

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-800);
    background: var(--gray-50);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.form-input::placeholder { color: var(--gray-300); }

.form-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(230,50,35,0.1);
    background: #fff;
}

.form-input.is-error { border-color: #ef4444; }

.form-eye {
    position: absolute;
    right: 12px; top: 50%; transform: translateY(-50%);
    color: var(--gray-400);
    display: flex; align-items: center;
    transition: color 0.15s;
}

.form-eye:hover { color: var(--gray-600); }

/* Checkbox */
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }

.checkbox-input { display: none; }

.checkbox-custom {
    width: 16px; height: 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: 4px;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 4px; top: 1.5px;
    width: 5px; height: 9px;
    border: 2px solid #fff;
    border-top: none; border-left: none;
    transform: rotate(45deg);
}

.checkbox-text { font-size: 13px; color: var(--gray-600); }

.login-btn {
    width: 100%;
    height: 46px;
    background: var(--gray-900);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s;
    margin-top: 4px;
}

.login-btn:hover {
    background: var(--brand-red);
    transform: translateY(-1px);
}

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

.login-legal {
    font-size: 11.5px;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.6;
}

.login-legal a { color: var(--brand-red); font-weight: 500; }
.login-legal a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════
   REPORTS PAGE
══════════════════════════════════════════ */
.reports-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Row 1 — search bar stretches full width */
.reports-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    transition: border-color 0.15s;
}

/* Row 2 — date pickers on left, Export on right */
.reports-filter__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.reports-search-wrap:focus-within {
    border-color: var(--gray-400);
}

.reports-search-icon { color: var(--gray-400); flex-shrink: 0; }

.reports-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--gray-700);
    background: transparent;
    font-family: var(--font-body);
}

.reports-search-input::placeholder { color: var(--gray-400); }

.export-btn {
    flex-shrink: 0;
    padding: 8px 24px;
    background: var(--gray-900);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    transition: background 0.15s;
    cursor: pointer;
    white-space: nowrap;
}

.export-btn:hover { background: var(--brand-red); }

/* Dealer dropdown */
.dealer-select-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dealer-select-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dealer-select-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 280px;
    max-width: 400px;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: border-color 0.15s;
}

.dealer-select-box:focus-within { border-color: var(--gray-400); }

.dealer-select {
    flex: 1;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 36px 9px 14px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-800);
    font-family: var(--font-body);
    cursor: pointer;
}

.dealer-select-chevron {
    position: absolute;
    right: 12px;
    color: var(--brand-red);
    pointer-events: none;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .login-form-panel { flex: 0 0 420px; padding: 48px 40px; }
    .login-hero { padding: 48px 40px; }
}

@media (max-width: 768px) {
    :root { --sidebar-width: 0px; }

    .login-hero { display: none; }
    .login-form-panel { flex: 1; }

    .verx-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        box-shadow: none;
    }
    .verx-sidebar.open {
        transform: none;
        --sidebar-width: 230px;
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
    }

    .verx-main { margin-left: 0; }

    .search-input { width: 200px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .orders-grid { grid-template-columns: 1fr; }
}
