/*
 * HammerDown — Light Mode Theme
 * Applied to member app pages only.
 * Pages that should stay dark (video-cards, vision, mindmap) do NOT include this file.
 */

:root {
  --black:    #f5f2ec;
  --charcoal: #ffffff;
  --panel:    #faf8f4;
  --dark:     #ffffff;
  --border:   #ddd9d0;
  --gold:     #8a5c1a;
  --gold-dim: #a07030;
  --white:    #1a1714;
  --gray:     #5a5448;
  --muted:    #9a9488;
  --light:    #6a6458;
  --navy:     #edeae3;
  --green:    #2d7a52;
  --red:      #a03030;
  --amber:    #8a5c1a;
}

body {
  background: #f5f2ec;
  color: #1a1714;
}

/* Sidebar */
.sidebar, aside.sidebar {
  background: #ffffff !important;
  border-right-color: #ddd9d0 !important;
}

.sidebar-logo .name { color: #1a1714 !important; }
.sidebar-logo .tagline { color: #8a5c1a !important; }
.member-tier { background: #8a5c1a !important; color: #ffffff !important; }
.member-name { color: #1a1714 !important; }
.nav-section { color: #9a9488 !important; }
.nav-item { color: #5a5448 !important; }
.nav-item:hover { color: #1a1714 !important; background: rgba(0,0,0,0.03) !important; }
.nav-item.active { color: #1a1714 !important; background: rgba(138,92,26,0.06) !important; border-left-color: #8a5c1a !important; }
.signout { color: #9a9488 !important; }

/* Main content areas */
.main { background: #f5f2ec; }
.header, .search-header, .vin-header, .page-header { background: #ffffff !important; border-bottom-color: #ddd9d0 !important; }

/* Cards and panels */
.charcoal, .decode-card, .flags-card, .timeline-item,
.stat-box, .result-card, .garage-card, .car-card,
.vault-cta, .history-section {
  background: #ffffff !important;
  border-color: #ddd9d0 !important;
}

/* Text */
.search-title, .vin-title, .page-title,
h1, h2, h3, .result-title, .timeline-car,
.stat-box .num, .decode-val {
  color: #1a1714 !important;
}

.search-sub, .vin-sub, .result-meta,
.timeline-date, .decode-key, .stat-box .lbl {
  color: #5a5448 !important;
}

/* Inputs */
.search-input, .vin-input, .luxury-input, input, select, textarea {
  background: #f5f2ec !important;
  border-color: #ddd9d0 !important;
  color: #1a1714 !important;
}

.search-input::placeholder, .vin-input::placeholder, input::placeholder {
  color: #9a9488 !important;
}

/* Buttons */
.search-btn, .vin-btn, .btn-primary {
  background: #8a5c1a !important;
  color: #ffffff !important;
}

/* Stats bar */
.stats-bar { background: #ddd9d0 !important; }
.stat-box { background: #ffffff !important; }

/* Results */
.results-area, .vin-results { background: #f5f2ec !important; }
.results-meta { border-bottom-color: #ddd9d0 !important; }
.filter-pill { background: #ffffff !important; border-color: #ddd9d0 !important; color: #5a5448 !important; }
.filter-pill.active { background: #8a5c1a !important; color: #ffffff !important; }

/* Footers */
.footer, .sidebar-bottom { background: #ffffff !important; border-color: #ddd9d0 !important; }

/* Gold accents stay gold (adjusted for light bg) */
.gold, [style*="color:var(--gold)"], [style*="color: var(--gold)"] { color: #8a5c1a !important; }
.gold-dim { color: #a07030 !important; }

/* Logo */
.logo, .footer-logo, .sidebar-logo .name { color: #8a5c1a !important; }

/* Verdict colors */
.verdict.clean { background: rgba(45,122,82,0.06) !important; }
.verdict.caution { background: rgba(138,92,26,0.06) !important; }
.verdict.warning { background: rgba(160,48,48,0.06) !important; }

/* Quick chips / example chips */
.vin-example, .quick-chip {
  background: #ffffff !important;
  border-color: #ddd9d0 !important;
  color: #5a5448 !important;
}

/* Price history chart */
.price-chart { background: #ffffff !important; border-color: #ddd9d0 !important; }
.price-change { color: #5a5448 !important; }

/* Score display */
.score-section { background: #ffffff !important; }

/* Dark panels that should stay distinct */
.navy-panel, .pull-quote, [style*="background:var(--navy)"] {
  background: #edeae3 !important;
}
