/* ============================================================
   OhmCar — Version WEB (desktop)
   Landing + App logged-in
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --surface: #F7F8FA;
  --surface-2: #EFF1F5;
  --text: #0A0F1A;
  --text-muted: #6B7280;
  --text-soft: #9AA3B2;
  --border: #E5E7EB;
  --border-strong: #D1D5DB;

  --primary: #10B981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-50: #ECFDF5;
  --primary-100: #D1FAE5;

  --accent: #FBBF24;
  --accent-50: #FEF3C7;

  --danger: #EF4444;
  --danger-50: #FEE2E2;
  --info: #3B82F6;
  --warning: #F59E0B;

  --dark: #0A0F1A;
  --dark-700: #111827;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgba(10,15,26,.04), 0 1px 1px rgba(10,15,26,.03);
  --shadow-md: 0 4px 12px rgba(10,15,26,.06), 0 2px 4px rgba(10,15,26,.04);
  --shadow-lg: 0 12px 32px rgba(10,15,26,.10), 0 4px 8px rgba(10,15,26,.05);
  --shadow-xl: 0 24px 48px rgba(10,15,26,.14);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --nav-h: 72px;
  --sidebar-w: 240px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; font-size: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ---------- Layout utils ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  transition: all .15s;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16,185,129,.25); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1F2937; }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: transparent; border: 1.5px solid var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: var(--surface); }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Top Nav (public) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-block;
  vertical-align: middle;
  object-fit: contain;
  background: transparent;
}
.logo-mark.sm { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--r-md);
  transition: all .15s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; gap: 12px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #ECFDF5 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,.15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
}
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  height: 10px;
  background: var(--accent-50);
  z-index: -1;
  border-radius: 4px;
}
.hero p {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--text); }
.hero-stat span { font-size: 14px; color: var(--text-muted); }

.hero-illu {
  background: linear-gradient(135deg, #0A0F1A 0%, #1F2937 100%);
  border-radius: var(--r-2xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}
.hero-illu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(16,185,129,.4), transparent 50%);
}
.hero-illu-map {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illu-map svg circle:nth-child(2):last-child,
.hero-illu-map svg circle[opacity=".2"] {
  animation: pulse 2.2s ease-out infinite;
  transform-origin: 100px 100px;
}
@keyframes pulse {
  0% { opacity: .35; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(1.8); }
}
.hero-illu-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 260px;
}
.hero-illu-card.top { top: 40px; left: 40px; animation: float1 5s ease-in-out infinite; }
.hero-illu-card.mid { top: 50%; right: 20px; transform: translateY(-50%); animation: float2 5s ease-in-out infinite .5s; }
.hero-illu-card.bot { bottom: 40px; left: 60px; animation: float1 6s ease-in-out infinite 1s; }
@keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes float2 { 0%,100%{transform:translate(0,-50%)} 50%{transform:translate(0,calc(-50% - 8px))} }
.hero-illu-card .icon { width: 40px; height: 40px; background: var(--primary-50); color: var(--primary-700); border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-illu-card .label { font-size: 12px; color: var(--text-muted); }
.hero-illu-card .value { font-weight: 700; font-size: 15px; }

/* ---------- Search widget ---------- */
.search-widget {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 8px;
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr auto;
  gap: 4px;
  box-shadow: var(--shadow-xl);
  max-width: 680px;
  border: 1px solid var(--border);
}
.search-widget .cell {
  padding: 12px 16px;
  border-radius: var(--r-md);
  transition: background .15s;
  cursor: text;
}
.search-widget .cell:hover { background: var(--surface); }
.search-widget .cell label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}
.search-widget .cell input, .search-widget .cell select {
  width: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: var(--text);
}
.search-widget .cell input::placeholder { color: var(--text-soft); }
.search-btn {
  width: 52px; height: 52px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: all .15s;
}
.search-btn:hover { background: var(--primary-600); transform: scale(1.05); }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  transition: all .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-100); }
.step-num {
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--text-muted); line-height: 1.6; font-size: 15px; }

/* ---------- Features ---------- */
.features-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .features-2col { grid-template-columns: 1fr; } }
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: var(--primary-50);
  color: var(--primary-700);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.feature-item p { color: var(--text-muted); font-size: 15px; line-height: 1.5; }

.feature-showcase {
  background: linear-gradient(135deg, #0A0F1A 0%, #1F2937 100%);
  border-radius: var(--r-2xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(16,185,129,.3), transparent 50%);
}

/* ---------- Spots grid ---------- */
.spots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .spots-grid { grid-template-columns: 1fr; } }
.spot-card-web {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.spot-card-web:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.spot-card-web .img {
  aspect-ratio: 16/10;
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
}
.spot-card-web .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.spot-card-web:hover .img img { transform: scale(1.05); }
.spot-card-web .badge-abs {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
}
.spot-card-web .body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.spot-card-web .title { font-size: 17px; font-weight: 700; }
.spot-card-web .addr { font-size: 13px; color: var(--text-muted); }
.spot-card-web .meta { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.spot-card-web .price { margin-left: auto; font-weight: 700; color: var(--primary); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}
.testimonial .stars { color: var(--accent); margin-bottom: 12px; font-size: 18px; }
.testimonial p { font-size: 16px; line-height: 1.6; color: var(--text); margin-bottom: 20px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.testimonial .name { font-weight: 700; font-size: 14px; }
.testimonial .role { color: var(--text-muted); font-size: 13px; }

/* ---------- Host CTA ---------- */
.host-cta {
  background: linear-gradient(135deg, #0A0F1A 0%, #1F2937 100%);
  border-radius: var(--r-2xl);
  padding: 64px;
  position: relative;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .host-cta { grid-template-columns: 1fr; padding: 40px; } }
.host-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(16,185,129,.35), transparent 70%);
  filter: blur(40px);
}
.host-cta h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.15; }
.host-cta h2 .hl { color: var(--primary); }
.host-cta p { color: rgba(255,255,255,.75); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }
.host-cta .box-calc {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
}
.host-cta .box-calc .label { color: rgba(255,255,255,.65); font-size: 13px; margin-bottom: 6px; }
.host-cta .box-calc .value { font-size: 36px; font-weight: 800; color: var(--primary); }
.host-cta .box-calc .note { color: rgba(255,255,255,.5); font-size: 12px; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: all .15s;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--text-muted);
  transition: transform .2s;
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--primary); }
.faq-item p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-top: 12px; }

/* ---------- Final CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 40%);
}
.cta-banner h2 { font-size: 40px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; position: relative; }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 32px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .15s;
}
.social-icons a:hover { background: var(--primary); }

/* ============================================================
   APP — Logged in (desktop)
   ============================================================ */
.app-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.sidebar-logo { padding: 4px 12px 24px; }
.side-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all .15s;
  cursor: pointer;
}
.side-link:hover { background: var(--surface); color: var(--text); }
.side-link.active { background: var(--primary-50); color: var(--primary-700); font-weight: 600; }
.side-link.active svg { stroke: var(--primary); }
.side-link svg { width: 20px; height: 20px; stroke-width: 2; }
.side-link .badge-dot {
  margin-left: auto;
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
}
.side-section { font-size: 11px; font-weight: 700; color: var(--text-soft); text-transform: uppercase; letter-spacing: .5px; padding: 16px 14px 8px; }
.side-user {
  margin-top: auto;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 10px;
}
.side-user .avatar { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.side-user .name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.side-user .email { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 140px; }

.main {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.topbar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}
.topbar-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px;
  outline: none;
  transition: all .15s;
}
.topbar-search input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-50); }
.topbar-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn-web {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  color: var(--text);
  transition: background .15s;
  position: relative;
}
.icon-btn-web:hover { background: var(--surface); }
.icon-btn-web .dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  background: var(--danger);
  border: 2px solid var(--bg);
  border-radius: 50%;
}

.content { flex: 1; padding: 32px; max-width: 1400px; width: 100%; margin: 0 auto; }
.content-wide { padding: 0; max-width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.page-head h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.page-head .sub { color: var(--text-muted); font-size: 15px; margin-top: 4px; }

/* ---------- App: map view ---------- */
.map-split {
  display: grid;
  grid-template-columns: 420px 1fr;
  height: calc(100vh - var(--nav-h));
}
.map-results {
  background: var(--bg);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: 20px;
}
.map-results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.map-split #mapWeb { width: 100%; height: 100%; }
.map-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.result-card-web {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  cursor: pointer;
  transition: all .15s;
}
.result-card-web:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.result-card-web .thumb { width: 80px; height: 80px; border-radius: var(--r-md); object-fit: cover; flex-shrink: 0; }
.result-card-web .body { flex: 1; min-width: 0; }
.result-card-web .title { font-weight: 700; font-size: 15px; }
.result-card-web .addr { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.result-card-web .meta { display: flex; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }
.result-card-web .price { font-weight: 700; color: var(--primary); font-size: 15px; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { background: var(--surface-2); }
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.chip.primary { background: var(--primary-50); color: var(--primary-700); border-color: var(--primary-100); }

/* ---------- Stats cards ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.stat-card .label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.stat-card .value { font-size: 28px; font-weight: 800; margin-top: 6px; letter-spacing: -.5px; }
.stat-card .delta { font-size: 13px; font-weight: 600; margin-top: 4px; }
.stat-card .delta.up { color: var(--primary-700); }
.stat-card .delta.down { color: var(--danger); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 16px; }

/* Tables */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 14px 16px; text-align: left; }
.table th { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--border); }
.table td { border-bottom: 1px solid var(--border); font-size: 14px; }
.table tr:hover { background: var(--surface); }
.table .status { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: var(--r-full); }
.table .status.confirmed { background: var(--primary-50); color: var(--primary-700); }
.table .status.pending { background: var(--accent-50); color: #92400E; }
.table .status.completed { background: var(--surface-2); color: var(--text-muted); }
.table .status.cancelled { background: var(--danger-50); color: #991B1B; }

/* Spot detail modal/page */
.spot-hero {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  aspect-ratio: 16/7;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.spot-hero img { width: 100%; height: 100%; object-fit: cover; }
.spot-hero .big { grid-row: 1 / 3; }
.spot-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .spot-detail-grid { grid-template-columns: 1fr; } }
.sticky-booking {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.features-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.feature-box { background: var(--surface); padding: 14px; border-radius: var(--r-md); display: flex; gap: 10px; align-items: center; }
.feature-box svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }
.feature-box .l { font-size: 12px; color: var(--text-muted); }
.feature-box .v { font-size: 14px; font-weight: 600; }

/* Avatar */
.avatar {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.lg { width: 64px; height: 64px; font-size: 24px; }
.avatar.xl { width: 96px; height: 96px; font-size: 36px; }

/* Host request card */
.req-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.req-card .actions { display: flex; gap: 8px; }

/* Availability */
.avail-row-web {
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.avail-row-web:last-child { border-bottom: none; }
.slot-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.slot-chip { padding: 6px 12px; background: var(--primary-50); color: var(--primary-700); border: 1px solid var(--primary-100); border-radius: var(--r-sm); font-size: 13px; font-weight: 600; }
.slot-chip.closed { background: var(--surface); color: var(--text-muted); border-color: var(--border); }

.switch { position: relative; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch-slider {
  position: absolute; inset: 0;
  background: var(--border-strong);
  border-radius: var(--r-full);
  transition: .2s;
  cursor: pointer;
}
.switch-slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: .2s;
}
.switch input:checked + .switch-slider { background: var(--primary); }
.switch input:checked + .switch-slider::before { transform: translateX(20px); }

/* ---------- Badges ---------- */
.energy-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 600;
}
.energy-badge.solar { background: #FEF3C7; color: #B45309; }
.energy-badge.wind { background: #DBEAFE; color: #1D4ED8; }
.energy-badge.trad { background: var(--surface-2); color: var(--text-muted); }

/* ---------- Stars ---------- */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: var(--accent); }
.stars svg.off { color: var(--border-strong); }

/* Screens (sections) ------ */
.screen-web { display: none; }
.screen-web.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, .55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fade .2s; }
.modal-web {
  background: #fff;
  border-radius: var(--r-xl);
  max-width: 440px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-web h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.modal-web .sub { color: var(--text-muted); margin-bottom: 24px; }

/* Form fields */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 15px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: all .15s;
  font-family: inherit;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-50); }

/* Toast */
.toast {
  position: fixed;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.toast.show { opacity: 1; }

/* Leaflet marker */
.custom-marker {
  width: 40px; height: 40px;
  background: var(--primary);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.custom-marker svg { transform: rotate(45deg); color: #fff; width: 18px; height: 18px; }
.custom-marker.accent { background: var(--accent); }
.custom-marker.dark { background: var(--dark); }

/* ---------- Ad slot (Google Ads / partenaires) ---------- */
.ad-slot {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(180deg, #FEFCE8 0%, #FFFFFF 100%);
  border: 1px solid #FDE68A;
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .15s;
}
.ad-slot:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.ad-slot::before {
  content: 'Annonce';
  position: absolute;
  top: 8px; right: 10px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
  z-index: 2;
}
.ad-slot .thumb {
  width: 80px; height: 80px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
}
.ad-slot .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ad-slot .brand { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }
.ad-slot .title { font-size: 14px; font-weight: 700; line-height: 1.3; }
.ad-slot .subtitle { font-size: 12px; color: var(--text-muted); line-height: 1.3; }
.ad-slot .cta { font-size: 12px; font-weight: 700; color: var(--primary-700); margin-top: auto; align-self: flex-start; }

.ad-banner {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 16px 0;
}

/* ---------- Payment method cards (wallet / card) ---------- */
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
}
.payment-option:hover { border-color: var(--border-strong); }
.payment-option.active {
  border-color: var(--primary);
  background: var(--primary-50);
}
.payment-option input[type="radio"] {
  margin-top: 2px;
  width: 16px; height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.payment-option .po-body { flex: 1; min-width: 0; }
.payment-option .po-title {
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.payment-option .po-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ---------- Validation method option cards ---------- */
.validation-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all .15s;
  background: var(--bg);
}
.validation-option:hover { border-color: var(--border-strong); background: var(--surface); }
.validation-option.active {
  border-color: var(--primary);
  background: var(--primary-50);
  box-shadow: 0 0 0 3px rgba(16,185,129,.12);
}
.validation-option input[type="radio"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.validation-option .vo-body { flex: 1; }
.validation-option .vo-title {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.validation-option .vo-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}
.validation-option.disabled {
  opacity: .45;
  cursor: not-allowed;
  background: var(--surface);
}
.validation-option.disabled .vo-title::after {
  content: ' · Indisponible sur votre borne';
  color: var(--danger);
  font-weight: 500;
  font-size: 12px;
}

/* ---------- Stepper (page propose) ---------- */
.step-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.step-pill span {
  width: 22px; height: 22px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.step-pill.active {
  background: var(--primary-50);
  border-color: var(--primary-100);
  color: var(--primary-700);
}
.step-pill.active span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
}
.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* ---------- Language picker ---------- */
.lang-picker {
  position: relative;
  display: inline-block;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all .15s;
}
.lang-trigger:hover { background: var(--surface-2); }
.lang-trigger .chev {
  font-size: 10px;
  color: var(--text-muted);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.lang-picker.open .lang-menu { display: flex; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  width: 100%;
  background: none;
  border: none;
  transition: background .15s;
}
.lang-option:hover { background: var(--surface); }
.lang-option.active { background: var(--primary-50); color: var(--primary-700); font-weight: 600; }
.lang-flag { font-size: 18px; line-height: 1; }
.lang-label { flex: 1; }
.lang-check { color: var(--primary); font-weight: 700; }

/* Utility */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.fw-700 { font-weight: 700; }
.fs-14 { font-size: 14px; }
.fs-13 { font-size: 13px; }
.fs-18 { font-size: 18px; }
.fs-24 { font-size: 24px; }
.text-center { text-align: center; }
.w-full { width: 100%; }
