/* ============================================================
   IronBidz — Frontend CSS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:       #0d1828;
  --navy-mid:   #111e30;
  --navy-light: #162540;
  --gold:       #c9a227;
  --gold-light: #e0b84a;
  --green:      #10b981;
  --red:        #dc2626;
  --orange:     #f59e0b;
  --blue:       #3b82f6;
  --text:       #1f2937;
  --muted:      #6b7280;
  --border:     #e5e7eb;
  --bg:         #f4f6f9;
  --white:      #ffffff;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 4px 24px rgba(0,0,0,.13);
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Top Bar ─────────────────────────────── */
.top-bar { background: var(--navy); padding: 9px 0; }
.top-bar-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.top-bar-item { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.7); font-size: 13px; }
.top-bar-item a { color: rgba(255,255,255,.7); }
.top-bar-item svg { color: var(--gold); flex-shrink: 0; }
#live-clock { color: rgba(255,255,255,.85); font-weight: 600; font-size: 13px; }

/* ── Header ──────────────────────────────── */
.header { background: var(--navy-mid); padding: 16px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo-img { width: 60px; height: 60px; border-radius: 10px; border: 2px solid var(--gold); object-fit: cover; background: var(--navy-light); }
.logo-text h1 { font-size: 28px; font-weight: 800; color: var(--gold); letter-spacing: .5px; }
.logo-text p { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .3px; }
.btn-login-reg { background: transparent; border: 2px solid #fff; color: #fff; padding: 10px 28px; border-radius: 6px; font-size: 13px; font-weight: 700; letter-spacing: .5px; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-login-reg:hover { background: #fff; color: var(--navy); }
.header-user { display: flex; align-items: center; gap: 8px; }

/* ── Navigation ──────────────────────────── */
.main-nav { background: var(--navy-light); border-bottom: 2px solid rgba(201,162,39,.4); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; overflow-x: auto; }
.nav-link { display: flex; align-items: center; gap: 8px; padding: 15px 22px; color: rgba(255,255,255,.75); font-size: 12.5px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; transition: all .2s; }
.nav-link:hover, .nav-link.active { color: #fff; border-bottom-color: var(--gold); background: rgba(255,255,255,.06); }
.nav-link svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Buttons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; border: none; transition: all .2s; white-space: nowrap; }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-light); }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger { background: var(--red); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-dark { background: #1f2937; color: #fff; }
.btn-dark:hover { background: #374151; }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-gold { background: linear-gradient(135deg,var(--gold),var(--gold-light)); color: #fff; }

/* ── Container ───────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Main Layout ─────────────────────────── */
.main-layout { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding: 28px 0 40px; align-items: start; }
@media (max-width: 1024px) { .main-layout { grid-template-columns: 1fr; } .sidebar { display: none; } }

/* ── Sidebar ─────────────────────────────── */
.sidebar { position: sticky; top: 100px; }
.sidebar-box { background: var(--navy-mid); border-radius: 12px; overflow: hidden; margin-bottom: 18px; border: 1px solid rgba(255,255,255,.07); }
.sidebar-box-header { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.sidebar-box-header-left { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; font-weight: 700; }
.sidebar-count { background: var(--gold); color: var(--navy); border-radius: 20px; padding: 2px 10px; font-size: 12px; font-weight: 800; }
.sidebar-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-top: 1px solid rgba(255,255,255,.06); cursor: pointer; transition: all .15s; text-decoration: none; }
.sidebar-item:hover, .sidebar-item.active { background: rgba(255,255,255,.07); }
.sidebar-item.active { border-left: 3px solid var(--gold); }
.sidebar-item-left { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: 13px; }
.sidebar-item.active .sidebar-item-left { color: #fff; font-weight: 700; }
.sidebar-item-badge { background: rgba(255,255,255,.12); color: rgba(255,255,255,.7); border-radius: 12px; padding: 2px 9px; font-size: 11px; font-weight: 600; }
.sidebar-item.active .sidebar-item-badge { background: var(--gold); color: var(--navy); }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 11px 18px; border-top: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.6); font-size: 13px; text-decoration: none; transition: all .15s; }
.sidebar-link::before { content: '●'; font-size: 5px; color: rgba(255,255,255,.3); }
.sidebar-link:hover { color: rgba(255,255,255,.9); background: rgba(255,255,255,.05); }

/* ── Content Area ────────────────────────── */
.content-area {}
.content-header { margin-bottom: 20px; }
.content-title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }

/* Search bar */
.search-wrap { display: flex; align-items: center; background: #fff; border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 16px; margin-bottom: 14px; gap: 10px; box-shadow: var(--shadow); }
.search-wrap input { border: none; outline: none; flex: 1; font-size: 14px; color: var(--text); background: transparent; }
.search-wrap input::placeholder { color: var(--muted); }

/* Filters toggle */
.btn-filters { background: #fff; border: 1.5px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.btn-filters:hover { border-color: var(--navy); color: var(--navy); }

/* Status tabs */
.status-tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.status-tab { padding: 7px 18px; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: #fff; color: var(--muted); text-decoration: none; transition: all .15s; }
.status-tab:hover { border-color: var(--navy); color: var(--navy); }
.status-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Count */
.results-count { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

/* ── Vehicle Grid ────────────────────────── */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 22px; }

/* ── Vehicle Card ────────────────────────── */
.vehicle-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1.5px solid var(--border); display: flex; flex-direction: column; transition: all .25s; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c7d7f0; }

/* Image */
.vehicle-image-wrap { position: relative; height: 200px; background: #e8edf3; overflow: hidden; }
.vehicle-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.vehicle-card:hover .vehicle-image-wrap img { transform: scale(1.04); }

/* Watermark */
.vehicle-image-wrap::after { content: 'IronBidz'; position: absolute; bottom: 8px; right: 10px; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-shadow: 0 1px 4px rgba(0,0,0,.5); pointer-events: none; }

/* Sold overlay */
.sold-overlay { position: absolute; inset: 0; background: rgba(180,30,30,.8); display: flex; align-items: center; justify-content: center; }
.sold-overlay-text { color: #fff; font-size: 32px; font-weight: 900; letter-spacing: 4px; border: 3px solid rgba(255,255,255,.8); padding: 6px 24px; }

/* Status badge */
.vehicle-status-badge { position: absolute; bottom: 0; right: 0; padding: 6px 14px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.badge-ended    { background: rgba(30,30,30,.85); color: #fff; }
.badge-reserved { background: rgba(245,158,11,.9); color: #fff; }

/* Carfax badge */
.badge-carfax { position: absolute; top: 10px; right: 10px; background: #1a56db; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; display: flex; align-items: center; gap: 4px; }

/* Auction timer */
.auction-timer-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.7); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 5px; }

/* Card Body */
.vehicle-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.vehicle-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.35; }
.vehicle-title a { color: inherit; }
.vehicle-title a:hover { color: var(--blue); }

/* Detail rows */
.vd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 7px; }
.vd-item { background: #f8fafc; border: 1px solid var(--border); border-radius: 5px; padding: 6px 10px; }
.vd-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; font-weight: 600; }
.vd-value { font-size: 12px; color: var(--text); font-weight: 600; margin-top: 1px; }
.vd-value.blue { color: var(--blue); }
.vd-value.green { color: var(--green); }

/* Location */
.v-location { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Mileage row */
.v-mileage { background: #f0f6ff; border: 1px solid #dbeafe; border-radius: 5px; padding: 6px 10px; text-align: center; font-size: 12px; font-weight: 600; color: var(--blue); margin-bottom: 7px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* VIN row */
.v-vin-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 11px; margin-bottom: 6px; }
.v-vin-label { color: var(--muted); font-weight: 600; letter-spacing: .3px; }
.v-vin-value { color: var(--text); font-weight: 500; font-family: monospace; font-size: 11px; }

/* Title status */
.v-title-row { display: flex; align-items: center; justify-content: space-between; font-size: 11px; margin-bottom: 12px; }
.v-title-label { color: var(--muted); font-weight: 600; }
.v-title-value { color: var(--blue); font-weight: 700; }

/* Price / Action */
.v-price-area { margin-top: auto; }
.v-bid-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.v-bids-count { font-size: 12px; color: var(--muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.btn-sold-price { width: 100%; padding: 12px; background: var(--green); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 800; letter-spacing: .5px; cursor: default; text-align: center; display: block; }
.btn-buy-now { width: 100%; padding: 12px; background: var(--green); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 800; cursor: pointer; text-align: center; display: block; text-decoration: none; transition: filter .2s; }
.btn-buy-now:hover { filter: brightness(1.1); }
.btn-reserved-state { width: 100%; padding: 10px; background: var(--orange); color: #fff; border: none; border-radius: 7px; font-size: 12px; font-weight: 700; text-align: center; display: block; margin-bottom: 8px; }
.btn-place-bid { width: 100%; padding: 12px; background: var(--navy); color: #fff; border: none; border-radius: 7px; font-size: 13px; font-weight: 800; cursor: pointer; text-align: center; display: block; text-decoration: none; transition: background .2s; }
.btn-place-bid:hover { background: var(--navy-light); }
.v-current-bid { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 4px; }

/* Wishlist btn */
.wishlist-btn { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.9); border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .2s; z-index: 2; }
.wishlist-btn:hover { transform: scale(1.15); }

/* ── Sections ────────────────────────────── */
.section { padding: 40px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.section-title { font-size: 20px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 10px; }
.section-subtitle { font-size: 13px; color: var(--muted); margin-top: 4px; }
.section-link { font-size: 13px; color: var(--blue); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* Load More */
.btn-load-more { display: block; margin: 32px auto 0; padding: 13px 40px; background: var(--navy); color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-load-more:hover { background: var(--navy-light); }

/* ── Reviews ─────────────────────────────── */
.reviews-section { background: var(--white); padding: 48px 0; border-top: 1px solid var(--border); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 24px; }
.review-stars { color: var(--gold); font-size: 18px; margin-bottom: 12px; }
.review-quote { font-size: 32px; color: var(--border); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.review-text { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-author { font-weight: 700; font-size: 14px; color: var(--text); }
.review-vehicle { font-size: 12px; color: var(--muted); }

/* ── Footer ──────────────────────────────── */
footer { background: var(--navy-mid); padding: 56px 0 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-icon { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 10px; }
.footer-logo-name { color: #fff; font-size: 18px; font-weight: 800; letter-spacing: .5px; }
.footer-desc { color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.7; margin-bottom: 20px; }

/* Payment methods */
.payment-box { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 14px 16px; }
.payment-label { color: rgba(255,255,255,.5); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.payment-cards { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.payment-card { background: #fff; border-radius: 5px; padding: 4px 10px; font-size: 11px; font-weight: 800; color: var(--navy); letter-spacing: .3px; }
.payment-card.visa { color: #1a1f71; }
.payment-card.mc { color: #eb001b; }
.payment-card.amex { color: #007bc1; }
.payment-card.discover { color: #ff6600; }
.payment-card.wire { background: var(--navy-light); color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.15); }

/* Trust badges */
.trust-badges { display: flex; gap: 10px; margin-top: 16px; }
.trust-badge { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 6px 12px; font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.trust-badge svg { color: var(--green); }

.footer-col h4 { color: rgba(255,255,255,.9); font-size: 14px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 13px; display: flex; align-items: center; gap: 7px; transition: color .15s; }
.footer-links a::before { content: '●'; font-size: 5px; color: rgba(255,255,255,.3); }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.footer-contact-icon { background: rgba(201,162,39,.15); border: 1px solid rgba(201,162,39,.25); border-radius: 10px; padding: 10px; flex-shrink: 0; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.footer-contact-icon svg { color: var(--gold); width: 18px; height: 18px; display: block; }
.footer-contact-text { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,.6); }
.footer-contact-text a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { color: rgba(255,255,255,.35); font-size: 12px; }
.footer-bottom-right { color: rgba(255,255,255,.35); font-size: 12px; display: flex; align-items: center; gap: 6px; }

/* ── Auth Pages ───────────────────────────── */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%); display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { background: #fff; border-radius: 16px; width: 100%; max-width: 480px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.auth-card-header { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 32px; text-align: center; }
.auth-card-header h1 { color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.auth-card-header p { color: rgba(255,255,255,.6); font-size: 13px; }
.auth-card-body { padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: #374151; margin-bottom: 7px; text-transform: uppercase; letter-spacing: .5px; }
.auth-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; color: var(--text); outline: none; transition: border-color .2s; background: #fff; }
.auth-input:focus { border-color: var(--blue); }
.btn-auth-submit { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 800; cursor: pointer; transition: opacity .2s; }
.btn-auth-submit:hover { opacity: .9; }
.auth-errors { background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.auth-errors p { color: #dc2626; font-size: 13px; }
.auth-success { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 8px; padding: 12px 16px; color: #166534; font-size: 13px; }
.auth-divider { text-align: center; margin: 18px 0; position: relative; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { background: #fff; padding: 0 12px; color: var(--muted); font-size: 12px; position: relative; }
.auth-link { color: var(--blue); font-size: 13px; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }

/* ── Alerts ──────────────────────────────── */
.alert { padding: 13px 18px; border-radius: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 500; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.alert-info    { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

/* ── Content Cards ───────────────────────── */
.content-card { background: #fff; border-radius: 12px; padding: 28px 32px; margin-bottom: 16px; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.content-card h2 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.content-card p, .content-card li { color: #4b5563; font-size: 14px; line-height: 1.8; }
.content-card ul { padding-left: 20px; margin-top: 8px; }
.content-card li { margin-bottom: 6px; }

/* ── Page Hero ───────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 48px 0; text-align: center; color: #fff; }
.page-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.page-hero h1 span { color: var(--gold); }
.page-hero p { font-size: 15px; color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; }

/* ── Inventory Section ───────────────────── */
.inventory-section { padding: 32px 0 48px; }

/* ── Forms ───────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ── Badges (generic) ────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.badge-sold     { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.badge-approved { background: #f0fdf4; color: var(--green); border: 1px solid #bbf7d0; }
.badge-rejected { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.badge-pending  { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.badge-info     { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }

/* ── Misc ────────────────────────────────── */
#backToTop { position: fixed; bottom: 100px; right: 24px; width: 44px; height: 44px; background: var(--navy); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.25); display: none; align-items: center; justify-content: center; z-index: 9980; transition: all .25s; }
#backToTop:hover { background: var(--navy-light); transform: translateY(-3px); }
#backToTop.visible { display: flex; }
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--blue)); z-index: 99999; width: 0%; transition: width .1s; }

/* Mobile nav */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: all .3s; }
@media (max-width: 768px) { .mobile-menu-btn { display: block; } .nav-inner { display: none; flex-direction: column; } .nav-inner.open { display: flex; } }

/* ── Carfax Modal ────────────────────────── */
.carfax-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9999; align-items: center; justify-content: center; }
.carfax-modal-overlay.active { display: flex; }
.carfax-modal { background: #fff; border-radius: 14px; padding: 32px; max-width: 400px; width: 90%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.carfax-modal h3 { font-size: 18px; font-weight: 800; margin: 14px 0 8px; color: var(--navy); }
.carfax-modal p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.carfax-modal-buttons { display: flex; gap: 10px; justify-content: center; }
.carfax-modal-btn { padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; }
.carfax-modal-btn-primary { background: var(--navy); color: #fff; }
.carfax-modal-btn-secondary { background: var(--border); color: var(--text); }

/* Auction timer on card */
.auction-banner-timer { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 5px; font-family: monospace; }
