/* =============================================
   Rogo — IAAI/Copart-Inspired Design
   Crimson Red + Gold + Charcoal palette
   Premium, modern, and automotive-grade
   ============================================= */

/* ---- CSS Variables / Design Tokens ---- */
:root {
    --gai-crimson: #C00000;
    --gai-crimson-light: #E02020;
    --gai-crimson-dark: #8B0000;
    --gai-gold: #FFC72C;
    --gai-gold-dark: #D4A017;
    --gai-gold-light: #FFD966;
    --gai-charcoal: #2E3033;
    --gai-charcoal-dark: #1E1F22;
    --gai-charcoal-light: #3A3D42;
    --gai-green: #2E7D32;
    --gai-green-light: #4CAF50;
    --gai-surface-dark: #121316;
    --gai-card-dark: #1C1D21;
    --gai-surface-light: #F5F5F5;
    --gai-radius: 10px;
    --gai-radius-lg: 14px;
    --gai-radius-xl: 18px;
    --gai-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gai-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Global Base ---- */
html,
body {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ---- AppBar ---- */
.dark-mode .mud-appbar {
    background: rgba(30, 31, 34, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.light-mode .mud-appbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ---- Desktop header nav links ---- */
.gai-header-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin: 0 1px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none !important;
    transition: var(--gai-transition-fast);
}

.gai-header-nav-link:hover {
    background: rgba(0, 0, 0, 0.045);
}

.gai-header-nav-link.active {
    color: var(--gai-crimson);
    background: rgba(192, 0, 0, 0.08);
}

.dark-mode .gai-header-nav-link:hover {
    background: rgba(255, 255, 255, 0.07);
}

.dark-mode .gai-header-nav-link.active {
    color: var(--gai-crimson-light);
    background: rgba(224, 32, 32, 0.14);
}

/* ---- Header icon cluster (theme / currency toggles) ---- */
.gai-header-icons {
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.035);
}

.dark-mode .gai-header-icons {
    background: rgba(255, 255, 255, 0.05);
}

/* ==================================================
   HERO BANNER — Copart-inspired dark hero with
   left-aligned content, steps, and CTA
   ================================================== */
.gai-hero-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: linear-gradient(105deg,
            rgba(18, 19, 22, 0.96) 0%,
            rgba(46, 48, 51, 0.88) 50%,
            rgba(140, 0, 0, 0.35) 100%),
        linear-gradient(180deg, #151317 0%, #2E3033 100%);
    background-color: #151317;
    overflow: hidden;
    padding: 0;
}

.gai-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 90% 50%, rgba(192, 0, 0, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 50% at 10% 80%, rgba(255, 199, 44, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

/* Real vehicle photo behind the hero; left-weighted scrim keeps text + search panel readable. */
.gai-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    pointer-events: none;
}

.gai-hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(18, 19, 22, 0.1) 0%, rgba(18, 19, 22, 0.38) 100%),
        linear-gradient(105deg,
            rgba(18, 19, 22, 0.88) 0%,
            rgba(18, 19, 22, 0.7) 42%,
            rgba(18, 19, 22, 0.34) 74%,
            rgba(140, 0, 0, 0.34) 100%);
}

@media (max-width: 1024px) {
    /* Stacked layout: text spans the full width, so keep a readable-but-lighter veil over the photo. */
    .gai-hero-photo::after {
        background: linear-gradient(180deg,
                rgba(18, 19, 22, 0.78) 0%,
                rgba(18, 19, 22, 0.64) 52%,
                rgba(18, 19, 22, 0.82) 100%);
    }
}

.gai-hero-inner {
    position: relative;
    z-index: 1;
    padding: 60px 24px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.gai-hero-left {
    flex: 1 1 auto;
    max-width: 620px;
}

.gai-hero-right {
    flex: 0 0 auto;
    width: 380px;
    max-width: 100%;
}

.gai-hero-left h1 {
    margin: 0 0 24px 0;
}

/* Blazor's <FocusOnNavigate Selector="h1"> focuses the heading on load for a11y; the heading is
   not keyboard-interactive, so suppress the default focus ring that flashes around the hero. */
.gai-hero-left h1:focus {
    outline: none;
}

.gai-hero-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: #FFFFFF;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.gai-hero-subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* Step boxes — Copart style */
.gai-hero-steps {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.gai-step-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 6px 16px 6px 6px;
    box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.08);
}

.gai-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gai-gold);
    color: #1d1d1d;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
}

.gai-step-desc {
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Hero CTA buttons */
.gai-hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.gai-hero-btn-primary {
    background-color: var(--gai-gold) !important;
    color: #1d1d1d !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    border: none !important;
    transition: var(--gai-transition) !important;
}

.gai-hero-btn-primary:hover {
    background-color: var(--gai-gold-light) !important;
    box-shadow: 0 4px 16px rgba(255, 199, 44, 0.3) !important;
    transform: translateY(-1px);
}

.gai-hero-btn-secondary {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    transition: var(--gai-transition) !important;
}

.gai-hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Hero trust badges */
.gai-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.gai-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 40px;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.gai-hero-trust-item .mud-icon-root {
    color: var(--gai-gold) !important;
    font-size: 1rem !important;
}

/* Hero quick-search panel (white card on the dark hero) */
.gai-hero-search {
    background: #FFFFFF;
    border-radius: 18px;
    padding: 24px 22px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gai-hero-search-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gai-charcoal-dark);
    line-height: 1.2;
}

.gai-hero-search-sub {
    margin-top: 4px;
    font-size: 0.8rem;
    color: rgba(30, 31, 34, 0.6);
    line-height: 1.4;
}

.gai-hero-search-btn {
    background-color: var(--gai-gold) !important;
    color: #1d1d1d !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    transition: var(--gai-transition) !important;
}

.gai-hero-search-btn:hover {
    background-color: var(--gai-gold-light) !important;
    box-shadow: 0 4px 16px rgba(255, 199, 44, 0.35) !important;
}

/* ==================================================
   RECOMMENDATION WIDGET — Copart-inspired
   vehicle card grid with flex layout
   ================================================== */
.gai-rec-widget {
    padding: 48px 0 40px;
    background: #F5F9FD;
}

.dark-mode .gai-rec-widget {
    background: #1A1B1F;
}

.gai-rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.gai-rec-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: -0.02em;
}

.gai-rec-subtitle {
    margin: 4px 0 0;
    font-size: 0.9rem;
    opacity: 0.55;
}

/* Flex grid — Copart recommendation-blocks layout */
.gai-rec-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.gai-rec-item {
    flex: 1 1 calc(25% - 12px);
    max-width: calc(25% - 12px);
    min-width: 240px;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    border: none;
    box-shadow: 0 1px 5px 0 rgba(213, 210, 210, 0.7);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: var(--gai-transition);
    cursor: pointer;
}

.gai-rec-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dark-mode .gai-rec-item {
    background: var(--gai-card-dark);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
}

.dark-mode .gai-rec-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Card image */
.gai-rec-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #F0F2F5;
    overflow: hidden;
}

.dark-mode .gai-rec-img {
    background: #252628;
}

.gai-rec-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gai-rec-item:hover .gai-rec-img img {
    transform: scale(1.05);
}

.gai-rec-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gai-rec-badge-gra {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(46, 125, 50, 0.9);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Card description area */
.gai-rec-desc {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
}

.gai-rec-lot-title {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
    color: inherit;
    margin-bottom: 2px;
}

.gai-rec-lot-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-size: 0.78rem;
    opacity: 0.55;
    line-height: 1.4;
}

.gai-rec-price-row {
    margin-top: auto;
    padding-top: 8px;
}

.gai-rec-price {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gai-green);
    letter-spacing: -0.01em;
}

.gai-rec-price-usd {
    display: block;
    font-size: 0.75rem;
    opacity: 0.5;
    font-weight: 500;
}

.gai-rec-action {
    margin-top: 10px;
}

.gai-rec-view-btn {
    display: block;
    text-align: center;
    padding: 8px 0;
    background: var(--gai-crimson);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 20px;
    transition: var(--gai-transition);
}

.gai-rec-item:hover .gai-rec-view-btn {
    background: var(--gai-crimson-light);
}

/* Skeleton loading state */
.gai-rec-item-skeleton {
    pointer-events: none;
}

/* ==================================================
   STATS BAR
   ================================================== */
.gai-stats-bar {
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dark-mode .gai-stats-bar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
}

.gai-stats-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    padding: 14px 0;
}

.gai-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==================================================
   VEHICLE CARDS (catalog pages)
   ================================================== */
.vehicle-card {
    transition: var(--gai-transition);
    border-radius: var(--gai-radius-lg) !important;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    /* Fill the grid cell (MudGrid stretches row items to the tallest card) and lay out the
       card content as a column so cards with a wrapping title still line up their price/View
       row with shorter cards in the same row. */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vehicle-card .mud-card-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.vehicle-card .mud-card-content > .mud-stack {
    flex: 1 1 auto;
}

/* Pins the price + View button to the bottom of the card regardless of title/badge height above it. */
.vehicle-card .card-price-row {
    margin-top: auto;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    border-color: var(--gai-crimson-light);
    box-shadow: 0 16px 40px rgba(192, 0, 0, 0.1),
        0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.dark-mode .vehicle-card:hover {
    border-color: var(--gai-crimson-light);
    box-shadow: 0 16px 40px rgba(224, 32, 32, 0.15),
        0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

.vehicle-card .card-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: rgba(128, 128, 128, 0.06);
}

/* Always-present placeholder behind the photo; shown when there's no image or it fails to load. */
.vehicle-card .card-image-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(128, 128, 128, 0.08), rgba(128, 128, 128, 0.16));
}

.vehicle-card .card-image-fallback .mud-icon-root {
    font-size: 56px;
    color: var(--gai-crimson);
    opacity: 0.16;
}

.vehicle-card .card-image-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover .card-image-container img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

/* ---- Price Display ---- */
.price-primary {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.price-secondary {
    font-size: 0.8125rem;
    opacity: 0.65;
    font-weight: 500;
}

.price-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
    font-size: 0.875rem;
}

.price-breakdown-row:last-child {
    border-bottom: none;
}

.price-breakdown-total {
    font-weight: 700;
    font-size: 1.05rem;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 2px solid var(--gai-crimson);
}

/* ---- Compliance Badges ---- */
.badge-compliant {
    background: rgba(46, 125, 50, 0.12);
    color: #2E7D32;
    border: 1px solid rgba(46, 125, 50, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.dark-mode .badge-compliant {
    background: rgba(76, 175, 80, 0.15);
    color: #81C784;
    border-color: rgba(76, 175, 80, 0.3);
}

.badge-warning {
    background: rgba(255, 199, 44, 0.12);
    color: #B38914;
    border: 1px solid rgba(255, 199, 44, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.dark-mode .badge-warning {
    color: #FFD966;
    border-color: rgba(255, 199, 44, 0.3);
}

.badge-danger {
    background: rgba(192, 0, 0, 0.1);
    color: #C00000;
    border: 1px solid rgba(192, 0, 0, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.dark-mode .badge-danger {
    color: #F87171;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.12);
}

/* ---- Final Sales Day badge (customer-facing) ---- */
.badge-final-sale {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(245, 158, 11, 0.12));
    color: #C2410C;
    border: 1px solid rgba(251, 146, 60, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.dark-mode .badge-final-sale {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.14), rgba(245, 158, 11, 0.1));
    color: #FB923C;
    border-color: rgba(251, 146, 60, 0.35);
}

/* Urgency pulse when sale is within 3 days */
.badge-final-sale.badge-urgent {
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 146, 60, 0); }
    50% { box-shadow: 0 0 8px 2px rgba(251, 146, 60, 0.2); }
}

/* Final Sales Day display for detail page */
.final-sale-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.08), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(251, 146, 60, 0.2);
    border-radius: 14px;
    margin-bottom: 16px;
}

.dark-mode .final-sale-banner {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.08), rgba(245, 158, 11, 0.04));
    border-color: rgba(251, 146, 60, 0.2);
}

.final-sale-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(251, 146, 60, 0.12);
    color: #EA580C;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.dark-mode .final-sale-icon {
    background: rgba(251, 146, 60, 0.1);
    color: #FB923C;
}

.final-sale-text {
    flex: 1;
}

.final-sale-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 3px;
}

.final-sale-date {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #EA580C;
    line-height: 1.2;
}

.dark-mode .final-sale-date {
    color: #FB923C;
}

/* Final sale tag on rec widget cards */
.gai-rec-final-sale {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #C2410C;
    margin-top: 4px;
}

.dark-mode .gai-rec-final-sale {
    color: #FB923C;
}

.gai-rec-final-sale .sale-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #EA580C;
    animation: saleDotPulse 1.5s ease-in-out infinite;
}

.dark-mode .gai-rec-final-sale .sale-dot {
    background: #FB923C;
}

@keyframes saleDotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ---- Admin: Override / Modified badge ---- */
.badge-modified {
    background: rgba(139, 92, 246, 0.12);
    color: #7C3AED;
    border: 1px solid rgba(139, 92, 246, 0.25);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dark-mode .badge-modified {
    background: rgba(167, 139, 250, 0.15);
    color: #A78BFA;
    border-color: rgba(167, 139, 250, 0.3);
}

/* ---- Admin: Featured badge ---- */
.badge-featured {
    background: rgba(255, 199, 44, 0.15);
    color: #B38914;
    border: 1px solid rgba(255, 199, 44, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.dark-mode .badge-featured {
    color: #FFD966;
    border-color: rgba(255, 217, 102, 0.35);
    background: rgba(255, 199, 44, 0.12);
}

/* ---- Admin: Buy Now badge ---- */
.badge-buynow {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.dark-mode .badge-buynow {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border-color: rgba(52, 211, 153, 0.3);
}

/* ---- Admin: Auction soon badge ---- */
.badge-auction-soon {
    background: rgba(251, 146, 60, 0.12);
    color: #C2410C;
    border: 1px solid rgba(251, 146, 60, 0.3);
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
}

.dark-mode .badge-auction-soon {
    color: #FB923C;
    border-color: rgba(251, 146, 60, 0.35);
    background: rgba(251, 146, 60, 0.1);
}

/* ---- Admin table: overridden row highlight ---- */
.admin-table tr.row-overridden {
    border-left: 3px solid rgba(139, 92, 246, 0.6);
}

.dark-mode .admin-table tr.row-overridden {
    background: rgba(139, 92, 246, 0.04) !important;
}

/* ---- How It Works Steps ---- */
.step-card {
    text-align: center;
    padding: 24px;
    border-radius: var(--gai-radius-lg);
    transition: var(--gai-transition);
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 16px;
}

/* ---- Section Styles ---- */
.section-padding {
    padding: 80px 0;
}

.section-padding-sm {
    padding: 48px 0;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-subtitle {
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ---- Filter Panel ---- */
.filter-panel {
    border-radius: var(--gai-radius-lg);
    padding: 20px;
}

.filter-chip {
    border-radius: 20px !important;
    font-size: 0.8125rem !important;
}

.active-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0;
}

/* ---- Image Gallery ---- */
.gallery-main {
    position: relative;
    border-radius: var(--gai-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    outline: none;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Gallery Nav Overlay Buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.gallery-main:hover .gallery-nav,
.gallery-main:focus-within .gallery-nav {
    opacity: 1;
    pointer-events: auto;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.92);
}

.gallery-nav-prev {
    left: 16px;
}

.gallery-nav-next {
    right: 16px;
}

.gallery-nav i,
.gallery-nav svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Gallery Photo Counter Badge */
.gallery-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* SalvageAlert high-res gallery on-demand loading badge */
.gallery-hires-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gallery-thumbnail {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--gai-transition-fast);
    flex-shrink: 0;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: var(--gai-crimson);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- WhatsApp FAB ---- */
/* The FAB and the sticky mobile CTA bar are position:fixed in a separate stacking context,
   so they paint over the open drawer's dim overlay. Hide them while the drawer is open. */
.gai-drawer-open .whatsapp-fab,
.gai-drawer-open .mobile-cta-bar {
    display: none !important;
}

.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: var(--gai-transition);
    border: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ---- Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg,
            rgba(128, 128, 128, 0.1) 25%,
            rgba(128, 128, 128, 0.2) 50%,
            rgba(128, 128, 128, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ---- Order Timeline ---- */
.timeline-step {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 32px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    transition: var(--gai-transition);
}

.timeline-dot.completed {
    background: var(--gai-green);
    color: white;
}

.timeline-dot.pending {
    background: rgba(128, 128, 128, 0.2);
    border: 2px dashed rgba(128, 128, 128, 0.4);
}

.timeline-line {
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: rgba(128, 128, 128, 0.2);
}

.timeline-line.completed {
    background: var(--gai-green);
}

/* ---- Order progress stepper (horizontal on desktop, vertical on mobile) ---- */
.order-track-eta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    opacity: 0.75;
}

.order-track-eta-done {
    color: var(--gai-green);
    opacity: 1;
    font-weight: 700;
}

.order-track-stages {
    display: flex;
    align-items: flex-start;
}

.order-track-stage {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* connector line to the next stage */
.order-track-stage:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: rgba(128, 128, 128, 0.2);
    z-index: 0;
}

.order-track-stage.done:not(:last-child)::after {
    background: var(--gai-green);
}

.order-track-node {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(128, 128, 128, 0.15);
    color: rgba(128, 128, 128, 0.7);
    position: relative;
    z-index: 1;
    transition: var(--gai-transition);
}

.order-track-stage.done .order-track-node {
    background: var(--gai-green);
    color: #fff;
}

.order-track-stage.current .order-track-node {
    background: var(--gai-crimson);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(192, 0, 0, 0.15);
    animation: orderTrackPulse 2s ease-in-out infinite;
}

.order-track-label {
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 8px;
    opacity: 0.6;
}

.order-track-stage.done .order-track-label {
    opacity: 0.85;
}

.order-track-stage.current .order-track-label {
    font-weight: 700;
    opacity: 1;
    color: var(--gai-crimson);
}

@keyframes orderTrackPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(192, 0, 0, 0.15); }
    50% { box-shadow: 0 0 0 7px rgba(192, 0, 0, 0.05); }
}

/* ---- Mobile filter drawer (off-canvas) ---- */
.filter-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.filter-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 360px);
    background: var(--mud-palette-surface, #fff);
    z-index: 1401;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    padding: 16px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
}

.filter-drawer.open {
    transform: translateX(0);
}

.filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 4px;
}

/* Desktop keeps the sidebar; the drawer is mobile-only. */
@media (min-width: 960px) {
    .filter-drawer,
    .filter-drawer-overlay {
        display: none;
    }
}

/* ---- Vehicle-detail delivery ETA note ---- */
.detail-eta-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 199, 44, 0.08);
    border: 1px solid rgba(255, 199, 44, 0.25);
    font-size: 0.82rem;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .order-track-stages {
        flex-direction: column;
        align-items: stretch;
    }

    .order-track-stage {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding-bottom: 18px;
    }

    .order-track-stage:not(:last-child)::after {
        top: 36px;
        left: 17px;
        width: 3px;
        height: 100%;
    }

    .order-track-node {
        flex-shrink: 0;
    }

    .order-track-label {
        margin-top: 0;
    }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.5s ease-out forwards;
}

.animation-delay-100 {
    animation-delay: 0.1s;
    opacity: 0;
}

.animation-delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.animation-delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

.animation-delay-400 {
    animation-delay: 0.4s;
    opacity: 0;
}

.animation-delay-500 {
    animation-delay: 0.5s;
    opacity: 0;
}

/* ---- Glassmorphism ---- */
.glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--gai-radius-lg);
}

.glass-card-light {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--gai-radius-lg);
}

/* ---- Glow Button ---- */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--gai-crimson), var(--gai-gold));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(8px);
}

.btn-glow:hover::after {
    opacity: 0.4;
}

/* Gold CTA button — IAAI "View Upcoming Inventory" style */
.btn-gold-cta {
    background: var(--gai-gold) !important;
    color: var(--gai-charcoal) !important;
    font-weight: 700 !important;
    border: none !important;
    transition: var(--gai-transition) !important;
}

.btn-gold-cta:hover {
    background: var(--gai-gold-light) !important;
    box-shadow: 0 4px 16px rgba(255, 199, 44, 0.3) !important;
    transform: translateY(-1px);
}

/* ---- Footer ---- */
.site-footer {
    border-top: 1px solid rgba(128, 128, 128, 0.15);
    padding: 48px 0 24px;
}

.footer-link {
    opacity: 0.7;
    transition: var(--gai-transition-fast);
    text-decoration: none;
    display: block;
    padding: 4px 0;
    font-size: 0.875rem;
}

.footer-link:hover {
    opacity: 1;
    color: var(--gai-crimson-light);
}

.dark-mode .footer-link:hover {
    color: var(--gai-gold);
}

/* ---- Red accent bar (IAAI-style left border on sections) ---- */
.iaai-accent-left {
    border-left: 4px solid var(--gai-crimson);
    padding-left: 16px;
}

/* ---- Make Section ---- */
.make-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border-radius: var(--gai-radius);
    cursor: pointer;
    transition: var(--gai-transition);
    text-align: center;
    min-height: 100px;
    background: #FFFFFF;
    box-shadow: 0 1px 5px 0 rgba(213, 210, 210, 0.7);
}

.make-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.dark-mode .make-logo-card {
    background: var(--gai-card-dark);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
}

.dark-mode .make-logo-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.make-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: inset 0 0 0 1px rgba(128, 128, 128, 0.15);
}

.make-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ---- Duty Estimator ---- */
.estimator-result {
    border-radius: var(--gai-radius-lg);
    padding: 24px;
    margin-top: 24px;
}

/* ---- Page Transitions ---- */
.page-enter {
    animation: fadeInUp 0.4s ease-out;
}

/* ---- MudBlazor Overrides for IAAI feel ---- */

/* Filled buttons: crimson with slight shine */
.mud-button-filled-primary {
    transition: var(--gai-transition) !important;
}

.mud-button-filled-primary:hover {
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25) !important;
}

/* Outlined buttons: charcoal border default */
.mud-button-outlined-primary:hover {
    border-color: var(--gai-crimson) !important;
}

/* Chip styling */
.mud-chip {
    transition: var(--gai-transition-fast) !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(128, 128, 128, 0.5);
}

/* ==================================================
   RESPONSIVE BREAKPOINTS
   Mobile-first responsive design
   ================================================== */

/* --- Tablet (768px - 1024px) --- */
@media (max-width: 1024px) {
    .gai-hero-banner {
        min-height: 380px;
    }

    .gai-hero-inner {
        padding: 48px 24px 44px;
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .gai-hero-banner {
        min-height: 0;
    }

    .gai-hero-left {
        max-width: 640px;
    }

    .gai-hero-right {
        width: 100%;
        max-width: 460px;
    }

    .gai-rec-blocks .gai-rec-item {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .section-padding {
        padding: 56px 0;
    }
}

/* --- Large phones / small tablets (600px - 768px) --- */
@media (max-width: 768px) {
    .gai-hero-banner {
        min-height: auto;
    }

    .gai-hero-inner {
        padding: 40px 16px 36px;
    }

    .gai-hero-title {
        font-size: 1.75rem;
    }

    .gai-hero-subtitle {
        font-size: 0.95rem;
    }

    .gai-hero-steps {
        flex-direction: column;
        gap: 8px;
    }

    .gai-step-box {
        max-width: 260px;
    }

    .gai-hero-actions {
        flex-direction: column;
        gap: 10px;
    }

    .gai-hero-btn-primary,
    .gai-hero-btn-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .gai-hero-trust {
        gap: 12px;
    }

    .gai-rec-blocks .gai-rec-item {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-width: 200px;
    }

    .gai-rec-widget {
        padding: 32px 0 24px;
    }

    .gai-rec-title {
        font-size: 1.3rem;
    }

    .section-padding {
        padding: 48px 0;
    }

    .gai-stats-inner {
        gap: 16px;
        padding: 12px 0;
    }

    .gai-stat-item {
        font-size: 0.78rem;
    }

    .price-primary {
        font-size: 1.25rem;
    }

    .gallery-thumbnails {
        gap: 6px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}

/* --- Phones (< 600px) --- */
@media (max-width: 600px) {
    .gai-hero-inner {
        padding: 32px 16px 28px;
    }

    /* Center the hero text block on phones (the search card is separate and stays left-aligned). */
    .gai-hero-left {
        text-align: center;
    }

    .gai-hero-title {
        font-size: 1.5rem;
    }

    .gai-hero-subtitle {
        font-size: 0.88rem;
    }

    .gai-hero-steps {
        gap: 10px;
    }

    /* Lightweight on phones: drop the box chrome, keep the numbered circle as the anchor. */
    .gai-step-box {
        padding: 0;
        border-radius: 0;
        background: none;
        border: none;
        box-shadow: none;
    }

    .gai-step-num {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }

    .gai-step-desc {
        font-size: 0.78rem;
    }

    /* One compact row on phones: drop the pill chrome + icons and shrink text so all three fit. */
    .gai-hero-trust {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .gai-hero-trust-item {
        padding: 0;
        background: none;
        border: none;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        font-size: 0.68rem;
        gap: 4px;
        white-space: nowrap;
        min-width: 0;
    }

    .gai-hero-trust-item .mud-icon-root {
        display: none;
    }

    .gai-rec-blocks .gai-rec-item {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: 0;
    }

    .gai-rec-widget {
        padding: 24px 0 20px;
    }

    .gai-stats-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 10px 0;
    }

    .section-padding {
        padding: 32px 0;
    }

    /* Trust bar, Footer compaction */
    .trust-bar {
        gap: 16px;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    /* Make cards smaller */
    .make-logo-card {
        padding: 14px;
        min-height: 80px;
        gap: 6px;
    }

    .make-logo-badge {
        width: 44px;
        height: 44px;
    }

    .make-logo-img {
        width: 26px;
        height: 26px;
    }

    /* CTA section responsive */
    .btn-gold-cta {
        width: 100% !important;
    }
}

/* --- Extra-small phones (< 375px) --- */
@media (max-width: 375px) {
    .gai-hero-title {
        font-size: 1.3rem;
    }

    .gai-hero-subtitle {
        font-size: 0.82rem;
    }

    .gai-rec-lot-title {
        font-size: 0.85rem;
    }

    .gai-rec-price {
        font-size: 1.1rem;
    }
}

/* --- MudBlazor drawer responsive override --- */
@media (max-width: 960px) {
    .mud-appbar .mud-appbar-toolbar {
        padding: 0 8px !important;
    }
}

/* ============================================================
   ADMIN DASHBOARD STYLES
   ============================================================ */

/* --- Admin Shell: Sidebar + Main layout --- */
.admin-shell {
    display: flex;
    min-height: 100vh;
    background: #0d1117;
    color: #e6edf3;
}

.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: #161b22;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 12px;
}

.admin-sidebar-close {
    display: none !important;
}

.admin-brand {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.admin-brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.admin-brand-sub {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: -2px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 12px;
    flex: 1;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-nav-link.active {
    background: rgba(192, 0, 0, 0.15);
    color: #ff4444;
    border-left: 3px solid #C00000;
    padding-left: 13px;
}

.admin-sidebar-footer {
    padding: 0 12px 16px;
}

.back-to-store {
    color: rgba(255, 255, 255, 0.4) !important;
}

.back-to-store:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}

.admin-sidebar-overlay {
    display: none;
}

/* --- Admin Main Content --- */
.admin-main {
    flex: 1;
    min-width: 0;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: #161b22;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-menu-btn {
    display: none !important;
}

.admin-content {
    padding: 24px;
    flex: 1;
}

/* --- Page Header --- */
.admin-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.admin-page-actions {
    display: flex;
    gap: 8px;
}

/* --- Stat Cards Grid --- */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
}

.admin-stat-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-vehicles .stat-icon-wrap {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.stat-orders .stat-icon-wrap {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-pending .stat-icon-wrap {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-inquiries .stat-icon-wrap {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.stat-revenue-ghs .stat-icon-wrap {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.stat-revenue-usd .stat-icon-wrap {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* --- Recent Activity Grid --- */
.admin-recent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-recent-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    overflow-x: auto;
}

.recent-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 8px;
}

/* --- Admin Data Table --- */
.admin-table {
    background: transparent !important;
}

.admin-table thead th {
    font-size: 0.7rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 10px 12px !important;
    white-space: nowrap;
}

.admin-table tbody td {
    padding: 10px 12px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    font-size: 0.85rem;
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
}

.admin-row-highlight {
    background: rgba(239, 68, 68, 0.05) !important;
    border-left: 3px solid #ef4444;
}

/* --- Filter Bar --- */
.admin-filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-search-field {
    flex: 1;
    min-width: 200px;
}

.admin-filter-select {
    min-width: 160px;
}

/* --- Data Card --- */
.admin-data-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* --- Vehicle Thumbnails --- */
.admin-vehicle-thumb {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-vehicle-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-thumb-cell {
    width: 60px;
}

.admin-vehicle-thumb-placeholder {
    width: 48px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

/* --- Price Review: 3-Column Command Center --- */
.review-shell {
    display: flex;
    gap: 16px;
    min-height: 80vh;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    outline: none;
}

.review-col {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow-x: hidden;
}

.review-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.review-col-scroll,
.review-col-body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 180px);
}

.review-col-body {
    padding: 14px;
}

.review-queue-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background-color 0.12s ease;
}

.review-queue-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.review-queue-card.active {
    background: rgba(59, 130, 246, 0.12);
    box-shadow: inset 3px 0 0 #3b82f6;
}

.review-queue-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-queue-name {
    flex: 1;
    min-width: 0;
}

.review-queue-name b {
    display: block;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-queue-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}

.review-queue-actions {
    display: flex;
    justify-content: flex-end;
    gap: 4px;
}

.review-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
}

.review-badge-sim {
    background: rgba(59, 130, 246, 0.16);
    color: #60a5fa;
}

.review-badge-margin.pos {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
}

.review-badge-margin.neg {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
}

.review-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.review-kpi {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 0;
}

.review-kpi-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.55;
    margin-bottom: 2px;
}

.review-kpi-value {
    font-size: 1.02rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-simdist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.review-simdist-track {
    flex: 1;
    height: 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.review-simdist-fill {
    height: 100%;
    border-radius: 4px;
}

.review-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 60px 20px;
    opacity: 0.55;
    text-align: center;
}

.review-filter-bar {
    position: sticky;
    top: 0;
    z-index: 6;
}

.review-hotkey-bar {
    position: sticky;
    bottom: 12px;
    z-index: 20;
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 16px;
    margin-top: 16px;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
}

.review-hotkey-bar kbd {
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom-width: 2px;
    border-radius: 5px;
    padding: 1px 6px;
    margin-right: 4px;
    color: #fff;
}

@media (max-width: 1100px) {
    .review-shell {
        flex-direction: column;
    }

    .review-col-scroll,
    .review-col-body {
        max-height: 480px;
    }
}

/* --- Pagination --- */
.admin-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

/* --- Tracking Timeline --- */
.admin-tracking-row {
    display: none;
}

.admin-tracking-row.visible {
    display: table-row;
}

.admin-tracking-timeline {
    display: flex;
    gap: 0;
    padding: 12px 20px;
    overflow-x: auto;
}

.tracking-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    position: relative;
    flex: 1;
    min-width: 100px;
}

.tracking-step::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 0;
    width: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tracking-step:last-child::after {
    display: none;
}

.tracking-step::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    width: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tracking-step:first-child::before {
    display: none;
}

.tracking-step.completed::before,
.tracking-step.completed::after {
    background: #10b981;
}

.tracking-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.tracking-step.completed .tracking-dot {
    background: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.tracking-info {
    text-align: center;
}

.tracking-info strong {
    font-size: 0.7rem;
    display: block;
    white-space: nowrap;
}

.tracking-date {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    display: block;
}

/* --- Empty State --- */
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 8px;
    opacity: 0.5;
}

/* --- Loading State --- */
.admin-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 8px;
}

/* --- Inquiry Detail Dialog --- */
.admin-inquiry-detail {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.inquiry-detail-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* ============================================================
   CONTACT PAGE STYLES
   ============================================================ */

.contact-page {
    padding: 40px 20px 60px;
    min-height: 80vh;
}

.contact-container {
    max-width: 680px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 12px 0 8px;
}

.contact-subtitle {
    font-size: 0.95rem;
    opacity: 0.65;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form-actions {
    margin-top: 24px;
}

.contact-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.contact-info-card {
    text-align: center;
    padding: 20px 12px;
    border-radius: 12px;
    background: rgba(128, 128, 128, 0.04);
    border: 1px solid rgba(128, 128, 128, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   ADMIN RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .admin-recent-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-sidebar-close {
        display: flex !important;
    }

    .admin-sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1099;
    }

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

    .admin-menu-btn {
        display: flex !important;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-filter-bar {
        flex-direction: column;
    }

    .admin-search-field,
    .admin-filter-select {
        width: 100%;
        min-width: unset;
    }

    .admin-table {
        font-size: 0.8rem;
    }

    .admin-page-title {
        font-size: 1.2rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* ==================================================
   PAGE: LOGIN & ACCOUNT
   Modern, elegant, glassmorphic dark/light login flow
   ================================================== */
/* Minimal auth-page shell (static AuthLayout) */
.gai-auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #F0F2F5;
}

.gai-auth-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #FFFFFF;
}

.gai-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    color: var(--gai-charcoal);
    text-decoration: none;
}

.gai-auth-accent {
    color: var(--gai-crimson);
}

.gai-auth-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gai-auth-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.gai-auth-nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gai-charcoal-light);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 40px;
    transition: var(--gai-transition-fast);
    white-space: nowrap;
}

.gai-auth-nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gai-crimson);
}

/* CSS-only mobile menu (no JS) — hidden on desktop */
.gai-auth-menu {
    display: none;
    position: relative;
}

.gai-auth-menu-btn {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border-radius: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gai-auth-menu-btn::-webkit-details-marker {
    display: none;
}

.gai-auth-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--gai-charcoal);
    border-radius: 2px;
    transition: var(--gai-transition-fast);
}

.gai-auth-menu[open] .gai-auth-menu-btn {
    background: rgba(0, 0, 0, 0.05);
}

.gai-auth-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 8px;
    display: flex;
    flex-direction: column;
    z-index: 50;
}

.gai-auth-menu-panel a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gai-charcoal);
    text-decoration: none;
    transition: var(--gai-transition-fast);
}

.gai-auth-menu-panel a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--gai-crimson);
}

@media (max-width: 700px) {
    .gai-auth-nav {
        display: none;
    }

    .gai-auth-menu {
        display: block;
    }
}

.gai-auth-shell .gai-login-container {
    flex: 1;
    min-height: 0;
}

.gai-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 120px);
    padding: 60px 20px;
    background: radial-gradient(ellipse at center, rgba(30, 31, 34, 0.4) 0%, rgba(18, 19, 22, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

/* Optional subtle background elements for visual pop */
.gai-login-container::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(192, 0, 0, 0.08) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.gai-login-container::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.04) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.gai-login-card {
    background: var(--gai-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--gai-radius-xl);
    width: 100%;
    max-width: 460px;
    padding: 40px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--gai-transition);
    position: relative;
    z-index: 2;
}

.gai-login-card:hover {
    border-color: rgba(192, 0, 0, 0.35);
    box-shadow: 0 32px 64px rgba(192, 0, 0, 0.12), 0 24px 48px rgba(0, 0, 0, 0.5);
}

.gai-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.gai-provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 125, 50, 0.12);
    border: 1px solid rgba(46, 125, 50, 0.3);
    color: #4CAF50;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 16px;
}

.light-mode .gai-provider-badge {
    color: #2E7D32;
}

.gai-login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gai-crimson) 0%, var(--gai-crimson-dark) 100%);
    box-shadow: 0 8px 16px rgba(192, 0, 0, 0.35);
    font-size: 24px;
    margin-bottom: 16px;
}

/* ---- Rogo brand logo (transparent PNG wordmark, works on light + dark) ---- */
.gai-brand-logo {
    height: 30px;
    width: auto;
    display: block;
}

.gai-brand-logo--footer {
    height: 34px;
}

.admin-brand-logo {
    height: 24px;
    width: auto;
    display: block;
    margin-bottom: 4px;
}

.gai-login-brand {
    height: 44px;
    width: auto;
    display: block;
    margin: 0 auto 18px;
}

.gai-login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
    outline: none;
}

.gai-login-title:focus {
    outline: none;
}

.gai-login-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
    line-height: 1.5;
}

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

.gai-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gai-form-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
}

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

.gai-forgot-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--gai-crimson-light);
    text-decoration: none;
    transition: var(--gai-transition-fast);
}

.gai-forgot-link:hover {
    color: #ffffff;
}

.gai-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gai-input-icon {
    position: absolute;
    left: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.gai-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--gai-radius);
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: var(--gai-transition);
}

.gai-form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.gai-form-control:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gai-crimson-light);
    box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.15);
}

.gai-error-message {
    font-size: 12px;
    color: #ff5252;
    margin-top: 2px;
}

.gai-validation-summary {
    background: rgba(255, 82, 82, 0.06);
    border: 1px solid rgba(255, 82, 82, 0.15);
    border-radius: var(--gai-radius);
    padding: 12px 16px;
    color: #ff5252;
    font-size: 13px;
}

.gai-validation-summary ul {
    margin: 0;
    padding-left: 16px;
}

.gai-remember-row {
    display: flex;
    align-items: center;
    margin-top: -4px;
}

.gai-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
}

.gai-checkbox-input {
    width: 16px;
    height: 16px;
    accent-color: var(--gai-crimson);
    cursor: pointer;
}

.gai-btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--gai-crimson) 0%, var(--gai-crimson-dark) 100%);
    border: none;
    border-radius: var(--gai-radius);
    padding: 13px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25);
    transition: var(--gai-transition);
}

.gai-btn-login:hover {
    background: linear-gradient(135deg, var(--gai-crimson-light) 0%, var(--gai-crimson) 100%);
    box-shadow: 0 6px 16px rgba(192, 0, 0, 0.35);
    transform: translateY(-1px);
}

.gai-btn-login:active {
    transform: translateY(1px);
}

/* Link styled as the primary button (for action links on confirmation pages) */
a.gai-btn-login {
    display: block;
    text-align: center;
    text-decoration: none;
}

.gai-or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
}

.gai-or-divider::before,
.gai-or-divider::after {
    content: '';
    flex: 1 1 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gai-or-divider span {
    padding: 0 12px;
}

.gai-external-logins {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gai-btn-external {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--gai-radius);
    padding: 11px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: var(--gai-transition);
}

.gai-btn-external:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.2);
}

.gai-btn-external:active {
    transform: translateY(1px);
}

.gai-external-icon {
    display: inline-flex;
    flex-shrink: 0;
}

/* Centered message body for confirmation/status auth pages */
.gai-auth-message {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 22px;
}

.light-mode .gai-auth-message {
    color: rgba(0, 0, 0, 0.6);
}

.gai-auth-message a {
    color: var(--gai-crimson-light);
    font-weight: 600;
    text-decoration: none;
}

.gai-auth-message a:hover {
    text-decoration: underline;
}

/* StatusMessage alerts rendered inside the auth card */
.gai-login-card .alert {
    border-radius: var(--gai-radius);
    padding: 12px 14px;
    font-size: 13.5px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.gai-login-card .alert-success {
    background: rgba(46, 125, 50, 0.12);
    border-color: rgba(46, 125, 50, 0.3);
    color: #2E7D32;
}

.gai-login-card .alert-danger {
    background: rgba(192, 0, 0, 0.1);
    border-color: rgba(192, 0, 0, 0.28);
    color: var(--gai-crimson);
}

/* 2FA "remember this machine" checkbox row */
.gai-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 18px;
    cursor: pointer;
}

.gai-register-prompt {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.gai-register-prompt p {
    margin: 0;
}

.gai-register-prompt a {
    color: var(--gai-crimson-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--gai-transition-fast);
}

.gai-register-prompt a:hover {
    color: #ffffff;
}

.gai-secondary-link {
    font-size: 12px;
    opacity: 0.8;
}

/* Light mode overrides */
.light-mode .gai-login-container {
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.8) 0%, rgba(240, 242, 245, 0.95) 100%);
}

.light-mode .gai-login-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
}

.light-mode .gai-login-card:hover {
    border-color: rgba(192, 0, 0, 0.25);
    box-shadow: 0 32px 64px rgba(192, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.08);
}

.light-mode .gai-login-title {
    color: var(--gai-charcoal);
}

.light-mode .gai-login-subtitle {
    color: rgba(0, 0, 0, 0.5);
}

.light-mode .gai-form-label {
    color: var(--gai-charcoal-light);
}

.light-mode .gai-form-control {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--gai-charcoal);
}

.light-mode .gai-form-control::placeholder {
    color: rgba(0, 0, 0, 0.35);
}

.light-mode .gai-form-control:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.08);
}

.light-mode .gai-checkbox-label {
    color: var(--gai-charcoal-light);
}

.light-mode .gai-or-divider {
    color: rgba(0, 0, 0, 0.35);
}

.light-mode .gai-or-divider::before,
.light-mode .gai-or-divider::after {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.light-mode .gai-btn-external {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--gai-charcoal);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.light-mode .gai-btn-external:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.2);
}

.light-mode .gai-register-prompt {
    color: rgba(0, 0, 0, 0.5);
    border-top-color: rgba(0, 0, 0, 0.06);
}

.light-mode .gai-input-icon {
    color: rgba(0, 0, 0, 0.4);
}

.light-mode .gai-forgot-link:hover {
    color: var(--gai-crimson-dark);
}

.light-mode .gai-register-prompt a:hover {
    color: var(--gai-crimson-dark);
}

/* ============================================================
   ADMIN VEHICLES PAGE — VISUAL POLISH
   ============================================================ */

/* Suppress browser focus outline on the page h1 (it's not interactive) */
.admin-page-title:focus,
.admin-page-title:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Buy Now toggle: pill wrapper keeps icon + label inline */
.admin-buynow-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
    background: rgba(255, 255, 255, 0.03);
}

.admin-buynow-toggle:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
}

/* Responsive column hiding */
.col-hide-sm,
.col-hide-md {
    /* visible by default */
}

@media (max-width: 1280px) {
    .col-hide-md {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .col-hide-sm {
        display: none !important;
    }
}

/* Prevent admin table from causing horizontal page scroll */
.admin-data-card {
    overflow-x: auto !important;
}

.admin-table {
    min-width: 780px;
}

/* Row-overridden: target tds to show the left border on the first cell */
.admin-table tr.row-overridden td:first-child {
    box-shadow: inset 3px 0 0 rgba(139, 92, 246, 0.7);
}

.admin-table tr.row-overridden {
    background: rgba(139, 92, 246, 0.035) !important;
}

/* Edit drawer tabs — text only, evenly distributed */
.mud-drawer .mud-tabs-tabbar {
    gap: 0;
}

.mud-drawer .mud-tab {
    font-size: 0.78rem;
    font-weight: 600;
    min-width: 0;
    flex: 1;
    letter-spacing: 0.01em;
    padding: 8px 6px;
}

/* Save Changes button — match site crimson brand */
.admin-save-btn {
    background: linear-gradient(135deg, #e53e3e, #c0392b) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* ============================================================
   ADMIN LIGHT THEME STYLES
   ============================================================ */

/* Main layout wrapper */
.admin-shell {
    background: #f8fafc !important;
    /* Cool clean light grey-blue background */
    color: #1e293b !important;
    /* Slate-800 text color */
}

/* Maintain dark sidebar as a distinguishing touch */
.admin-sidebar {
    background: #0f172a !important;
    /* Deep navy/slate-900 */
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.admin-sidebar .mud-divider-fullwidth {
    flex-grow: 0 !important;
}

.admin-sidebar .admin-brand-name {
    color: #ffffff !important;
}

.admin-sidebar .admin-brand-sub {
    color: rgba(255, 255, 255, 0.45) !important;
}

.admin-sidebar .admin-nav-link {
    color: rgba(255, 255, 255, 0.65) !important;
}

.admin-sidebar .admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.admin-sidebar .admin-nav-link.active {
    background: rgba(192, 0, 0, 0.2) !important;
    color: #ff5555 !important;
    border-left: 3px solid #C00000 !important;
}

.admin-sidebar .back-to-store {
    color: rgba(255, 255, 255, 0.45) !important;
}

.admin-sidebar .back-to-store:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Topbar is white with light border */
.admin-topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important;
}

.admin-topbar .mud-icon-button {
    color: #475569 !important;
    /* Slate-600 */
}

/* Page Header Title */
.admin-page-title {
    color: #0f172a !important;
    /* Slate-900 */
}

/* Stat cards are white with subtle shadows and borders */
.admin-stat-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

.admin-stat-card:hover {
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05) !important;
    border-color: #cbd5e1 !important;
}

.admin-stat-card .stat-value {
    color: #0f172a !important;
}

.admin-stat-card .stat-label {
    color: #64748b !important;
    /* Slate-500 */
}

/* Filter bar is white with light border */
.admin-filter-bar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02) !important;
    border-radius: 12px !important;
}

.admin-buynow-toggle {
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #475569 !important;
}

.admin-buynow-toggle:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
}

/* Data Card (wrapper of tables, etc.) is white */
.admin-data-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
}

/* Price Review: 3-Column Command Center (light) */
.review-col {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
}

.review-col-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

.review-queue-card {
    border-bottom: 1px solid #f1f5f9 !important;
}

.review-queue-card:hover {
    background: #f8fafc !important;
}

.review-queue-card.active {
    background: rgba(59, 130, 246, 0.08) !important;
}

.review-badge {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.review-badge-sim {
    background: #dbeafe !important;
    color: #2563eb !important;
}

.review-badge-margin.pos {
    background: #d1fae5 !important;
    color: #059669 !important;
}

.review-badge-margin.neg {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.review-kpi {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.review-simdist-track {
    background: #e2e8f0 !important;
}

/* Hotkey bar stays dark in both themes — same distinguishing-touch pattern as .admin-sidebar */
.review-hotkey-bar {
    background: #0f172a !important;
    color: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Admin Table styling */
.admin-table thead th {
    color: #475569 !important;
    /* Slate-600 */
    border-bottom: 2px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.admin-table tbody td {
    color: #334155 !important;
    /* Slate-700 */
    border-bottom: 1px solid #f1f5f9 !important;
}

.admin-table tbody tr:hover {
    background: #f8fafc !important;
}

.admin-table tr.row-overridden {
    background: rgba(139, 92, 246, 0.03) !important;
}

.admin-row-highlight {
    background: rgba(239, 68, 68, 0.03) !important;
}

/* Thumbnails */
.admin-vehicle-thumb {
    border: 1px solid #cbd5e1 !important;
}

.admin-vehicle-thumb-placeholder {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
}

/* Recent Activity Cards */
.admin-recent-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05) !important;
    color: #1e293b !important;
}

.admin-recent-card .mud-card-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Timeline steps */
.tracking-step::before,
.tracking-step::after {
    background: #e2e8f0 !important;
}

.tracking-step.completed::before,
.tracking-step.completed::after {
    background: #10b981 !important;
}

.tracking-dot {
    background: #cbd5e1 !important;
    border: 2px solid #e2e8f0 !important;
}

.tracking-step.completed .tracking-dot {
    background: #10b981 !important;
    border-color: #10b981 !important;
}

.tracking-date {
    color: #64748b !important;
}

/* MudBlazor overrides for light-themed admin drawer / editor / panels */
.admin-shell .mud-drawer {
    background: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.05) !important;
}

.admin-shell .mud-drawer-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Ensure pagination elements look good */
.admin-pagination {
    color: #475569 !important;
}

/* MudBlazor component overrides in admin layout to align with premium look */
.admin-shell .mud-input-control {
    background: #ffffff !important;
    border-radius: 8px;
}

.admin-shell .mud-input-input-control {
    background: transparent !important;
}

.admin-shell .mud-button-filled.mud-button-filled-default {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.admin-shell .mud-button-filled.mud-button-filled-default:hover {
    background-color: #e2e8f0 !important;
}

.admin-shell .mud-chip-default {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.admin-shell .mud-chip-outlined {
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.admin-empty-state {
    color: #64748b !important;
}

.admin-loading {
    color: #64748b !important;
}

/* Ensure row highlights and overrides render properly in all browser table layouts */
.admin-table tr.admin-row-highlight td:first-child {
    box-shadow: inset 3px 0 0 #ef4444 !important;
}

.admin-table tr.row-overridden td:first-child {
    box-shadow: inset 3px 0 0 rgba(139, 92, 246, 0.7) !important;
}

/* ==================================================
   ACCOUNT SETTINGS DASHBOARD — Premium Redesign
   ================================================== */
.gai-manage-wrapper {
    padding: 60px 24px;
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    background-color: var(--gai-surface-dark);
    font-family: 'Inter', sans-serif;
    transition: var(--gai-transition);
}

.light-mode .gai-manage-wrapper {
    background-color: var(--gai-surface-light);
}

.gai-manage-container {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.gai-manage-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.light-mode .gai-manage-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.gai-manage-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.light-mode .gai-manage-title {
    color: var(--gai-charcoal-dark);
}

.gai-manage-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 8px 0 0 0;
}

.light-mode .gai-manage-subtitle {
    color: var(--gai-charcoal-light);
    opacity: 0.85;
}

.gai-manage-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 960px) {
    .gai-manage-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.gai-manage-card {
    background: var(--gai-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--gai-radius-lg);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: var(--gai-transition);
}

.light-mode .gai-manage-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.gai-manage-sidebar {
    padding: 16px;
}

/* Sidebar Navigation */
.gai-settings-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 960px) {
    .gai-settings-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.gai-settings-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--gai-radius);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.925rem;
    transition: var(--gai-transition-fast);
    border-left: 3px solid transparent;
}

.gai-settings-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.gai-settings-link.active {
    color: #ffffff;
    background: rgba(192, 0, 0, 0.08);
    border-left-color: var(--gai-crimson);
}

.light-mode .gai-settings-link {
    color: var(--gai-charcoal-light);
}

.light-mode .gai-settings-link:hover {
    color: var(--gai-charcoal-dark);
    background: rgba(0, 0, 0, 0.03);
}

.light-mode .gai-settings-link.active {
    color: var(--gai-crimson);
    background: rgba(192, 0, 0, 0.05);
    border-left-color: var(--gai-crimson);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 1.05rem;
}

/* Settings Card Main Body Custom Overrides */
.gai-manage-body h2,
.gai-manage-body h3,
.gai-manage-body h4 {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.01em;
}

.gai-manage-body h3 {
    font-size: 1.5rem !important;
}

.light-mode .gai-manage-body h2,
.light-mode .gai-manage-body h3,
.light-mode .gai-manage-body h4 {
    color: var(--gai-charcoal-dark) !important;
}

.gai-manage-body p,
.gai-manage-body li {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.925rem !important;
    line-height: 1.6 !important;
}

.light-mode .gai-manage-body p,
.light-mode .gai-manage-body li {
    color: var(--gai-charcoal-light) !important;
}

/* Bootstrap Forms Overrides scoped inside gai-manage-body */
.gai-manage-body .form-control {
    width: 100% !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--gai-radius) !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    transition: var(--gai-transition) !important;
    box-shadow: none !important;
}

.gai-manage-body .form-control:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: var(--gai-crimson-light) !important;
    box-shadow: 0 0 0 3px rgba(224, 32, 32, 0.15) !important;
}

.gai-manage-body .form-control:disabled,
.gai-manage-body .form-control[readonly] {
    background: rgba(255, 255, 255, 0.01) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    cursor: not-allowed !important;
}

.light-mode .gai-manage-body .form-control {
    background: rgba(0, 0, 0, 0.015) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: var(--gai-charcoal) !important;
}

.light-mode .gai-manage-body .form-control:focus {
    background: #ffffff !important;
    border-color: var(--gai-crimson) !important;
    box-shadow: 0 0 0 3px rgba(192, 0, 0, 0.08) !important;
}

.light-mode .gai-manage-body .form-control:disabled,
.light-mode .gai-manage-body .form-control[readonly] {
    background: rgba(0, 0, 0, 0.02) !important;
    color: rgba(0, 0, 0, 0.45) !important;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Floating labels scoped styles */
.gai-manage-body .form-floating {
    position: relative !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    display: block !important;
}

.gai-manage-body .form-floating>.form-control {
    height: 58px !important;
    padding-top: 1.625rem !important;
    padding-bottom: 0.625rem !important;
}

/* Hide placeholder text by default to prevent overlap with the centered label */
.gai-manage-body .form-floating>.form-control::placeholder {
    color: transparent !important;
}

/* Reveal placeholder text only on focus */
.gai-manage-body .form-floating>.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.light-mode .gai-manage-body .form-floating>.form-control:focus::placeholder {
    color: rgba(0, 0, 0, 0.4) !important;
}

.gai-manage-body .form-floating>label {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 1rem 1rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    transition: var(--gai-transition-fast) !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    transform-origin: 0 0 !important;
}

.gai-manage-body .form-floating>.form-control:focus~label,
.gai-manage-body .form-floating>.form-control:not(:placeholder-shown)~label,
.gai-manage-body .form-floating>.form-control:-webkit-autofill~label {
    color: var(--gai-crimson-light) !important;
    opacity: 0.8 !important;
    transform: scale(0.85) translateY(-0.65rem) translateX(0.15rem) !important;
}

.light-mode .gai-manage-body .form-floating>label {
    color: rgba(0, 0, 0, 0.5) !important;
}

.light-mode .gai-manage-body .form-floating>.form-control:focus~label,
.light-mode .gai-manage-body .form-floating>.form-control:not(:placeholder-shown)~label,
.light-mode .gai-manage-body .form-floating>.form-control:-webkit-autofill~label {
    color: var(--gai-crimson) !important;
}

/* Grid columns & rows fallback since Bootstrap layout CSS might be missing on client page */
.gai-manage-body .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-right: -12px !important;
    margin-left: -12px !important;
}

.gai-manage-body .col-xl-6,
.gai-manage-body .col-md-6,
.gai-manage-body [class*="col-"] {
    position: relative !important;
    width: 100% !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .gai-manage-body .col-md-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 1200px) {
    .gai-manage-body .col-xl-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Input groups fallback overrides */
.gai-manage-body .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative !important;
}

.gai-manage-body .input-group>.form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.gai-manage-body .input-group-append {
    display: flex !important;
}

.gai-manage-body .input-group-text {
    display: flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    font-size: 1.1rem !important;
    background: rgba(46, 125, 50, 0.15) !important;
    border: 1px solid rgba(46, 125, 50, 0.3) !important;
    border-left: none !important;
    color: #81C784 !important;
    border-top-right-radius: var(--gai-radius) !important;
    border-bottom-right-radius: var(--gai-radius) !important;
}

.light-mode .gai-manage-body .input-group-text {
    background: rgba(46, 125, 50, 0.08) !important;
    border-color: rgba(46, 125, 50, 0.2) !important;
    color: #1b5e20 !important;
}

/* General Button overrides inside gai-manage-body */
.gai-manage-body .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    user-select: none !important;
    border: 1px solid transparent !important;
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    border-radius: var(--gai-radius) !important;
    transition: var(--gai-transition) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    margin-right: 8px !important;
    margin-bottom: 12px !important;
}

/* Buttons scoped styles */
.gai-manage-body .btn-primary {
    background: linear-gradient(135deg, var(--gai-crimson) 0%, var(--gai-crimson-dark) 100%) !important;
    border: none !important;
    border-radius: var(--gai-radius) !important;
    padding: 14px 28px !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    color: #ffffff !important;
    transition: var(--gai-transition) !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    box-shadow: 0 4px 12px rgba(192, 0, 0, 0.2) !important;
    cursor: pointer !important;
}

.gai-manage-body .btn-primary:hover {
    background: linear-gradient(135deg, var(--gai-crimson-light) 0%, var(--gai-crimson) 100%) !important;
    box-shadow: 0 6px 16px rgba(192, 0, 0, 0.3) !important;
    transform: translateY(-1px) !important;
}

.gai-manage-body .btn-primary:active {
    transform: translateY(1px) !important;
}

.gai-manage-body .btn-secondary,
.gai-manage-body .btn-link {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--gai-radius) !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    transition: var(--gai-transition-fast) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.gai-manage-body .btn-secondary:hover,
.gai-manage-body .btn-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.light-mode .gai-manage-body .btn-secondary,
.light-mode .gai-manage-body .btn-link {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: var(--gai-charcoal) !important;
}

.light-mode .gai-manage-body .btn-secondary:hover,
.light-mode .gai-manage-body .btn-link:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    color: var(--gai-charcoal-dark) !important;
}

.gai-manage-body .btn-danger {
    background: #C00000 !important;
    border: none !important;
    border-radius: var(--gai-radius) !important;
    padding: 14px 28px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.04em !important;
    transition: var(--gai-transition) !important;
    cursor: pointer !important;
}

.gai-manage-body .btn-danger:hover {
    background: #E02020 !important;
    box-shadow: 0 4px 12px rgba(224, 32, 32, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* Checklist and radio/checkbox layouts */
.gai-manage-body .form-check-label {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
}

.light-mode .gai-manage-body .form-check-label {
    color: var(--gai-charcoal-light) !important;
}

.gai-manage-body .form-check-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    cursor: pointer !important;
}

.gai-manage-body .form-check-input:checked {
    background-color: var(--gai-crimson) !important;
    border-color: var(--gai-crimson) !important;
}

.light-mode .gai-manage-body .form-check-input {
    background-color: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Alert styles */
.gai-manage-body .alert {
    border-radius: var(--gai-radius) !important;
    padding: 16px 20px !important;
    margin-bottom: 24px !important;
    font-size: 0.9rem !important;
    border: 1px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    line-height: 1.4 !important;
}

.gai-manage-body .alert-success {
    background: rgba(46, 125, 50, 0.12) !important;
    border-color: rgba(46, 125, 50, 0.2) !important;
    color: #81C784 !important;
}

.light-mode .gai-manage-body .alert-success {
    background: rgba(46, 125, 50, 0.08) !important;
    color: #1b5e20 !important;
    border-color: rgba(46, 125, 50, 0.15) !important;
}

.gai-manage-body .alert-danger {
    background: rgba(192, 0, 0, 0.12) !important;
    border-color: rgba(192, 0, 0, 0.2) !important;
    color: #F87171 !important;
}

.light-mode .gai-manage-body .alert-danger {
    background: rgba(192, 0, 0, 0.08) !important;
    color: #b71c1c !important;
    border-color: rgba(192, 0, 0, 0.15) !important;
}

.gai-manage-body .alert-warning {
    background: rgba(255, 199, 44, 0.12) !important;
    border-color: rgba(255, 199, 44, 0.25) !important;
    color: #FFD966 !important;
}

.light-mode .gai-manage-body .alert-warning {
    background: rgba(255, 199, 44, 0.08) !important;
    color: #B38914 !important;
    border-color: rgba(255, 199, 44, 0.15) !important;
}

/* Validation styling overrides */
.gai-manage-body .text-danger {
    color: #ff5252 !important;
    font-size: 0.85rem !important;
    display: inline-block !important;
    margin-top: 4px !important;
}

.light-mode .gai-manage-body .text-danger {
    color: #d32f2f !important;
}

.gai-manage-body ul.validation-errors {
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-bottom: 20px !important;
}

.gai-manage-body ul.validation-errors li {
    color: #ff5252 !important;
    font-size: 0.875rem !important;
}

.light-mode .gai-manage-body ul.validation-errors li {
    color: #d32f2f !important;
}

/* Sync settings styling */
.admin-sync-config-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.25s ease;
    margin-bottom: 24px;
}

.admin-sync-config-header {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.admin-sync-config-header:hover {
    background: #f1f5f9;
}

.admin-sync-config-body {
    padding: 20px;
    background: #ffffff;
    border-top: none;
}

.badge-sync-active {
    background-color: #fee2e2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid #fca5a5;
    margin-left: 8px;
    animation: pulseSync 2s infinite;
}

@keyframes pulseSync {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.sync-field .mud-input-control {
    margin-top: 0;
}

/* Fix temporary drawer viewport alignment and overlay focus issues */
.mud-drawer-temporary {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    z-index: 1400 !important;
}

.mud-drawer-overlay {
    position: fixed !important;
    z-index: 1395 !important;
}

/* --- Expandable Vehicle Details in Admin Panel --- */
.admin-details-row {
    display: none;
}

.admin-details-row.visible {
    display: table-row;
}

.admin-details-cell {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px !important;
    max-width: 0; /* Prevent details content from stretching the table columns */
}

.dark-mode .admin-details-cell {
    background-color: #0f172a;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.details-expanded-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
    width: 100%; /* Force card to inherit layout constraints */
    box-sizing: border-box;
}

.dark-mode .details-expanded-card {
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3);
}

.expanded-images-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
    scroll-behavior: smooth;
    width: 100%; /* Constrain scroll container width */
}

.expanded-image-wrapper {
    position: relative;
    flex: 0 0 auto;
    width: 160px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.dark-mode .expanded-image-wrapper {
    border-color: #334155;
}

.expanded-image-wrapper:hover {
    transform: scale(1.04);
    border-color: var(--mud-palette-primary);
}

.expanded-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Price Review "Active vehicle" photo strip — ~2x the default admin thumbnail size so admins can
   make out damage/condition without opening the lightbox for every shot. */
.expanded-image-wrapper.review-photo-wrapper {
    width: 320px;
    height: 240px;
}

.expanded-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-value {
    font-size: 0.875rem;
    color: #0f172a;
    font-weight: 600;
}

.dark-mode .spec-value {
    color: #f8fafc;
}

/* ===== Vehicle Detail — IA / usability pass ===== */

/* Key-facts strip (at-a-glance row under the gallery) */
.key-facts-strip {
    display: grid;
    grid-template-columns: repeat(6, auto);
    justify-content: space-between;
    gap: 8px 4px;
    padding: 14px 4px;
    border: 1px solid rgba(128, 128, 128, 0.12);
    border-radius: 16px;
}
.key-fact {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 2px 10px;
}
.key-fact + .key-fact {
    border-left: 1px solid rgba(128, 128, 128, 0.14);
}
/* Inner text wrapper: must allow shrink so the value can ellipsis instead of overflowing. */
.key-fact > div {
    min-width: 0;
}
.key-fact .mud-icon-root {
    color: var(--gai-crimson);
    flex-shrink: 0;
}
.key-fact-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.55;
    font-weight: 600;
}
.key-fact-value {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 960px) {
    .key-facts-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
    .key-fact:nth-child(3n+1) { border-left: none; }
}
@media (max-width: 480px) {
    .key-facts-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .key-fact:nth-child(3n+1) { border-left: 1px solid rgba(128, 128, 128, 0.14); }
    .key-fact:nth-child(2n+1) { border-left: none; }
}

/* Spec grouping */
.spec-group-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--gai-crimson);
    opacity: 0.85;
    margin-bottom: 6px;
}
.spec-val { font-size: 0.92rem; font-weight: 600; }

/* Compact definition-list spec table (replaces the sparse 3-col grid) */
.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
    margin: 0;
}
.spec-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.1);
}
.spec-row dt {
    font-size: 0.8rem;
    opacity: 0.55;
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
}
.spec-row dd {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-align: right;
}
@media (max-width: 600px) {
    .spec-list { grid-template-columns: 1fr; gap: 0; }
}

/* Condition flag chips */
.condition-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cond-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 16px;
    white-space: nowrap;
    border: 1px solid transparent;
}
.cond-good {
    background: rgba(46, 125, 50, 0.12);
    color: #2E7D32;
    border-color: rgba(46, 125, 50, 0.25);
}
.cond-bad {
    background: rgba(192, 0, 0, 0.1);
    color: #C00000;
    border-color: rgba(192, 0, 0, 0.25);
}
.dark-mode .cond-good { color: #81C784; background: rgba(76, 175, 80, 0.15); border-color: rgba(76, 175, 80, 0.3); }
.dark-mode .cond-bad { color: #F87171; background: rgba(248, 113, 113, 0.12); border-color: rgba(248, 113, 113, 0.3); }

/* Gallery fullscreen affordance */
.gallery-expand {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease;
}
.gallery-main:hover .gallery-expand,
.gallery-main:focus-within .gallery-expand { opacity: 1; }
.gallery-expand:hover { background: rgba(0, 0, 0, 0.78); }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    animation: lb-fade 0.18s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Mobile sticky buy bar — hidden on desktop, shown on phones */
/* Header mobile/tablet Browse CTA */
.header-browse-btn {
    background-color: var(--gai-gold) !important;
    color: #1d1d1d !important;
    font-weight: 700 !important;
    border-radius: 40px !important;
    text-transform: none !important;
    white-space: nowrap;
}

/* Drawer preference buttons (theme + currency on mobile) */
.drawer-pref-btn {
    justify-content: flex-start !important;
    text-transform: none !important;
    font-weight: 500 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    color: var(--mud-palette-text-primary) !important;
}

/* Home mobile sticky CTA bar */
.mobile-cta-bar { display: none; }
@media (max-width: 960px) {
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--mud-palette-surface, #fff);
        border-top: 1px solid rgba(128, 128, 128, 0.18);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    }
    .mobile-cta-btn {
        background-color: var(--gai-gold) !important;
        color: #1d1d1d !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        text-transform: none !important;
    }
    /* Lift the WhatsApp FAB above the sticky bars so they don't overlap */
    .whatsapp-fab {
        bottom: 80px;
    }
}

.mobile-buy-bar { display: none; }
@media (max-width: 960px) {
    .mobile-buy-bar {
        display: flex;
        align-items: center;
        gap: 12px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1200;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: var(--mud-palette-surface, #fff);
        border-top: 1px solid rgba(128, 128, 128, 0.18);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    }
    .mobile-buy-price { line-height: 1.1; white-space: nowrap; }
    .mobile-buy-ghs {
        font-family: 'Outfit', sans-serif;
        font-weight: 800;
        font-size: 1.15rem;
        color: var(--mud-palette-primary);
    }
    .mobile-buy-usd { font-size: 0.72rem; opacity: 0.6; font-weight: 500; }
    /* keep the sticky bar from covering page content / similar vehicles */
    .page-enter { padding-bottom: 84px; }
}