:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --surface-2: #f3f7ff;
  --text: #0f172a;
  --muted: #5b6475;
  --line: rgba(29, 78, 216, 0.12);
  --line-strong: rgba(29, 78, 216, 0.28);
  --blue: #1d4ed8;
  --blue-soft: #dbeafe;
  --blue-deep: #173fb1;
  --success: #15803d;
  --error: #dc2626;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 36px rgba(29, 78, 216, 0.12);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.16), transparent 26%),
    radial-gradient(circle at bottom right, rgba(29, 78, 216, 0.12), transparent 30%),
    linear-gradient(180deg, #fdfefe 0%, var(--bg) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
}

.app-shell {
  min-height: 100vh;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(100%, 430px);
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(232, 241, 255, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
  position: relative;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 118px;
  height: 26px;
  border-radius: 0 0 18px 18px;
  background: rgba(15, 23, 42, 0.92);
  z-index: 3;
}

.phone-screen {
  min-height: 840px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248, 251, 255, 0.98)),
    var(--surface);
  border-radius: 32px;
  border: 1px solid rgba(29, 78, 216, 0.08);
  position: relative;
  overflow: hidden;
  padding: 54px 18px 22px;
}

.phone-screen::before,
.phone-screen::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}

.phone-screen::before {
  width: 160px;
  height: 160px;
  background: rgba(29, 78, 216, 0.10);
  top: -30px;
  right: -40px;
}

.phone-screen::after {
  width: 140px;
  height: 140px;
  background: rgba(29, 78, 216, 0.08);
  bottom: 80px;
  left: -50px;
}

.toast-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.toast {
  padding: 13px 14px;
  border-radius: 16px;
  font-size: 0.93rem;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.toast-success {
  color: var(--success);
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.18);
}

.toast-error {
  color: var(--error);
  background: rgba(220, 38, 38, 0.09);
  border-color: rgba(220, 38, 38, 0.15);
}

.brand-block {
  text-align: center;
  margin: 4px 0 18px;
  position: relative;
  z-index: 2;
}

.brand-title {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-title.small {
  font-size: 1.38rem;
}

.brand-main {
  color: #111111;
}

.brand-accent {
  color: var(--blue);
}

.brand-subtitle {
  margin: 12px auto 0;
  max-width: 290px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.auth-page,
.dashboard-page {
  position: relative;
  z-index: 2;
}

.auth-card,
.rounded-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(29, 78, 216, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.auth-card {
  padding: 16px;
}

.tab-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: var(--surface-2);
  border: 1px solid rgba(29, 78, 216, 0.09);
  margin-bottom: 18px;
}

.tab-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 700;
  transition: 0.22s ease;
}

.tab-link.active {
  color: var(--blue);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(29, 78, 216, 0.14);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form label span {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  border-radius: 17px;
  border: 1px solid rgba(29, 78, 216, 0.14);
  background: #fff;
  padding: 0 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-form input::placeholder {
  color: #99a2b4;
}

.auth-form input:focus {
  border-color: rgba(29, 78, 216, 0.52);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
  transform: translateY(-1px);
}

.remember-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.remember-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.primary-btn,
.ghost-btn,
.social-btn {
  min-height: 54px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.social-btn:hover {
  transform: translateY(-1px);
}

.primary-btn {
  margin-top: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 100%);
  box-shadow: 0 16px 28px rgba(29, 78, 216, 0.28);
}

.ghost-btn {
  min-height: 42px;
  padding: 0 14px;
  color: var(--blue);
  border: 1.5px solid rgba(29, 78, 216, 0.38);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 4px rgba(29, 78, 216, 0.08);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #8b94a5;
  font-size: 0.88rem;
  font-weight: 700;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(29, 78, 216, 0.12);
}

.social-grid {
  display: grid;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #374151;
  background: #fff;
  border: 1.5px solid rgba(29, 78, 216, 0.14);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.social-btn svg {
  flex-shrink: 0;
  display: block;
}

.social-btn span {
  display: inline-block;
  line-height: 1;
}

.social-btn--google {
  border-color: rgba(66, 133, 244, 0.35);
  background: linear-gradient(180deg, #fff 0%, #f0f6ff 100%);
  color: #1e3a5f;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.08);
}

.social-btn--google:hover {
  background: linear-gradient(180deg, #e8f0fe 0%, #dbeafe 100%);
  border-color: rgba(66, 133, 244, 0.6);
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.13);
  color: #1a3080;
}

.social-btn--apple {
  color: #6b7280;
  background: #fafafa;
  border-color: #e5e7eb;
  opacity: 0.7;
  cursor: not-allowed;
}

.social-btn--apple:hover {
  background: #fafafa;
  color: #6b7280;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.welcome-text {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-box {
  position: relative;
  padding: 22px 18px 20px;
  margin-bottom: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #ffffff 0%, #f4f8ff 65%, #eaf1ff 100%);
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(29, 78, 216, 0.18);
  pointer-events: none;
}

.glow-box {
  box-shadow: 0 20px 38px rgba(29, 78, 216, 0.16);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-box h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-copy {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.97rem;
  max-width: 280px;
}

.services-panel {
  padding: 16px;
  border: 1.5px solid rgba(29, 78, 216, 0.22);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.services-grid {
  display: grid;
  gap: 12px;
}

.service-card {
  position: relative;
  padding: 16px 16px 15px;
  border-radius: 22px;
  border: 1px solid rgba(29, 78, 216, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 78, 216, 0.28);
  box-shadow: 0 18px 28px rgba(29, 78, 216, 0.12);
}

.service-card::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 16px;
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 800;
}

.service-card h2 {
  margin: 0 0 7px;
  padding-right: 24px;
  color: var(--blue);
  font-size: 1.06rem;
  font-weight: 800;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.outline-panel {
  position: relative;
}

.outline-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  border: 1px dashed rgba(29, 78, 216, 0.14);
  pointer-events: none;
}

/* ── Formula detail page ─────────────────────────────── */
.fd-hero {
  padding: 20px 18px 18px;
  margin-bottom: 14px;
}

.fd-hero-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.fd-hero-icon {
  font-size: 2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fd-hero-top .eyebrow { margin: 0 0 2px; }

.fd-hero-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.fd-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.12);
}

.fd-price {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -0.03em;
}

.fd-price-sep { color: var(--muted); font-size: 0.9rem; }

.fd-price-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  align-self: center;
}

.fd-duration {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--muted);
}

.fd-card {
  padding: 18px;
  margin-bottom: 14px;
}

.fd-card-sub {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

/* Inclus */
.fd-includes {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.fd-include-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
}

.fd-check {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Options */
.fd-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(29, 78, 216, 0.12);
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  text-align: left;
  margin-top: 10px;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.fd-option--on {
  border-color: var(--blue);
  background: linear-gradient(180deg, #eef4ff 0%, #dbeafe 100%);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.fd-option-body { flex: 1; min-width: 0; }

.fd-option-name {
  margin: 0 0 3px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.fd-option-desc {
  margin: 0;
  font-size: 0.81rem;
  color: var(--muted);
  line-height: 1.45;
}

.fd-option-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}

.fd-option-price {
  font-size: 0.97rem;
  font-weight: 900;
  color: var(--blue);
}

.fd-option-time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

/* Tabs (logement) */
.fd-tabs { margin: 10px 0 16px; }

/* Surface */
.fd-surface-wrap { display: grid; gap: 8px; }

.fd-surface-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.fd-surface-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fd-surface-input {
  flex: 1;
  min-height: 50px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 78, 216, 0.14);
  background: #fff;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fd-surface-input:focus {
  border-color: rgba(29, 78, 216, 0.5);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.fd-surface-unit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
}

.fd-surface-hint {
  margin: 0;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--blue);
  min-height: 16px;
}

/* Pré-paramètres */
.fd-presets { display: grid; gap: 8px; margin-bottom: 10px; }

.fd-preset {
  display: flex;
  align-items: center;
  border-radius: 20px;
  border: 1px solid rgba(29, 78, 216, 0.10);
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.fd-preset--active {
  border-color: var(--blue);
  background: linear-gradient(180deg, #eef4ff 0%, #dbeafe 100%);
}

.fd-preset-apply {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  text-align: left;
}

.fd-preset-name {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text);
}

.fd-preset-meta {
  font-size: 0.80rem;
  color: var(--muted);
}

.fd-preset-del {
  padding: 12px 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.fd-preset-del:hover { color: var(--error); }

.fd-preset-add {
  width: 100%;
  margin-top: 6px;
  font-size: 0.88rem;
}

.fd-preset-form {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.fd-preset-input {
  width: 100%;
  min-height: 50px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(29, 78, 216, 0.14);
  background: #fff;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.fd-preset-input:focus {
  border-color: rgba(29, 78, 216, 0.5);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.fd-preset-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.fd-error {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--error);
  margin: 6px 0 0;
}

/* Récap */
.fd-summary {
  padding: 18px;
  margin-bottom: 20px;
}

.fd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.fd-summary-row--last { border-bottom: 0; padding-bottom: 4px; }

.fd-summary-label {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--muted);
}

.fd-summary-val {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.01em;
}

.fd-summary-note {
  margin: 8px 0 0;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--blue);
}

.fd-cta { width: 100%; margin-top: 16px; }

@media (max-width: 420px) {
  .app-shell {
    padding: 0;
  }

  .phone-frame {
    width: 100%;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .phone-frame::before {
    display: none;
  }

  .phone-screen {
    min-height: 100vh;
    border-radius: 0;
    border: 0;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
  }
}



/* ═══════════════════════════════════════════════════════════════════
   Automobile — Vehicle Rental Styles
   ═══════════════════════════════════════════════════════════════════ */

/* ── Page layout ── */
.auto-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 0 100px;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Topbar ── */
.auto-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.auto-topbar--transparent {
  background: transparent;
  border-bottom: none;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}
.auto-topbar-brand {
  flex: 1;
  font-weight: 700;
  font-size: .95rem;
  transition: opacity .2s;
}
.auto-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auto-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
  transition: background .15s;
}
.auto-back-btn:active { background: var(--line); }
.auto-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
}
.auto-icon-btn:active { background: var(--line); }
.auto-publish-btn {
  font-size: .8rem;
  font-weight: 700;
  color: #ca8a04;
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid #ca8a04;
  border-radius: 20px;
  transition: background .15s;
}
.auto-publish-btn:active { background: rgba(202,138,4,.08); }

/* ── Buttons ── */
.auto-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #ca8a04;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  box-sizing: border-box;
}
.auto-btn-primary:active { background: #a16207; transform: scale(.98); }
.auto-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
  box-sizing: border-box;
}
.auto-btn-outline:active { background: var(--surface-2); }
.auto-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--error, #dc2626);
  font-weight: 600;
  font-size: .9rem;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--error, #dc2626);
  cursor: pointer;
  transition: background .15s;
}
.auto-btn-danger:active { background: rgba(220,38,38,.06); }

/* ── Hero ── */
.auto-hero {
  background: linear-gradient(135deg, #1c1917 0%, #292524 60%, #1c1a0e 100%);
  border-radius: 16px;
  padding: 32px 24px;
  margin: 0 12px;
  position: relative;
  overflow: hidden;
}
.auto-hero::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 180px; height: 180px;
  background: rgba(202,138,4,.12);
  border-radius: 50%;
}
.auto-hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ca8a04;
  margin-bottom: 8px;
}
.auto-hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}
.auto-hero-sub {
  font-size: .84rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
  line-height: 1.5;
}
.auto-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.auto-hero-actions .auto-btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

/* ── Stats bar ── */
.auto-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px;
  background: var(--surface);
  border-radius: 14px;
  margin: 0 12px;
  border: 1px solid var(--line);
}
.auto-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.auto-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ca8a04;
}
.auto-stat-label {
  font-size: .7rem;
  color: var(--muted);
  font-weight: 500;
}
.auto-stat-sep {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* ── Section ── */
.auto-section {
  padding: 0 12px;
}
.auto-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.auto-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}
.auto-see-all {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: #ca8a04;
  text-decoration: none;
}

/* ── Cards grid ── */
.auto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auto-grid--full {
  grid-template-columns: 1fr 1fr;
  padding: 0 12px;
  margin-top: 4px;
}
@media (min-width: 420px) {
  .auto-grid, .auto-grid--full { grid-template-columns: 1fr 1fr; }
}

/* ── Card ── */
.auto-card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.auto-card:active { transform: scale(.97); box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.auto-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.auto-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.auto-card:hover .auto-card-img { transform: scale(1.04); }
.auto-card-img--empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
}
.auto-card-price-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  padding: 4px 9px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}
.auto-card-price-badge span {
  font-weight: 500;
  font-size: .72em;
  opacity: .85;
}
.auto-card-photo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.auto-card-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auto-card-title {
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auto-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.auto-tag {
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--surface-2);
  border-radius: 20px;
  color: var(--muted);
}
.auto-tag--gold {
  background: rgba(202,138,4,.1);
  color: #92400e;
}
.auto-card-deposit {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 2px;
}
.auto-card-owner {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.auto-card-owner span {
  font-size: .72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auto-card-owner-img {
  width: 20px; height: 20px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.auto-card-owner-img--ph {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #ca8a04;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Search ── */
.auto-search-form {
  padding: 0 12px;
}
.auto-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auto-search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.auto-search-input {
  width: 100%;
  padding: 12px 44px 12px 42px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
.auto-search-input:focus { border-color: #ca8a04; }
.auto-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}
.auto-results-count {
  padding: 0 12px;
  font-size: .8rem;
  color: var(--muted);
}

/* ── Steps (how it works) ── */
.auto-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auto-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.auto-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #ca8a04;
  color: #fff;
  font-weight: 800;
  font-size: .88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-step-title {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 3px;
}
.auto-step-desc {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Empty state ── */
.auto-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}
.auto-empty-title {
  font-weight: 700;
  font-size: .95rem;
  margin-top: 12px;
  margin-bottom: 6px;
}
.auto-empty-sub {
  font-size: .82rem;
  color: var(--muted);
}

/* ── Card block ── */
.auto-card-block {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 20px;
  margin: 0 12px;
}

/* ── Publish form ── */
.auto-progress {
  display: flex;
  align-items: center;
  padding: 16px 20px 0;
  margin: 0 12px;
}
.auto-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .35;
  transition: opacity .2s;
}
.auto-progress-step--active,
.auto-progress-step--done { opacity: 1; }
.auto-progress-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
  transition: background .2s;
}
.auto-progress-step--active .auto-progress-dot { background: #ca8a04; }
.auto-progress-step--done .auto-progress-dot { background: #15803d; }
.auto-progress-step span {
  font-size: .65rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.auto-progress-step--active span { color: #ca8a04; }
.auto-progress-line {
  flex: 1;
  height: 1px;
  background: var(--line);
  margin: 0 4px;
  margin-bottom: 12px;
}

.auto-pub-panel {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auto-step-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #ca8a04;
  margin-bottom: 4px;
}
.auto-step-heading {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 6px;
}
.auto-step-hint {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.auto-step-nav {
  display: flex;
  gap: 10px;
}

/* ── Plate field ── */
.auto-plate-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 12px;
}
.auto-plate-field {
  flex: 1;
  display: flex;
  border: 2.5px solid #1d4ed8;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.auto-plate-band {
  background: #1d4ed8;
  color: #fff;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  font-weight: 700;
  gap: 1px;
  flex-shrink: 0;
}
.auto-plate-input {
  flex: 1;
  padding: 12px 10px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  outline: none;
  background: transparent;
  color: #111;
  font-family: inherit;
}
.auto-plate-msg {
  font-size: .8rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  margin-top: 4px;
}
.auto-plate-msg--ok { background: rgba(21,128,61,.1); color: #15803d; }
.auto-plate-msg--warn { background: rgba(202,138,4,.1); color: #92400e; }
.auto-plate-msg--error { background: rgba(220,38,38,.1); color: #dc2626; }
.auto-vehicle-found {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(21,128,61,.07);
  border: 1px solid rgba(21,128,61,.2);
  border-radius: 10px;
  margin-top: 8px;
}
.auto-vehicle-found-name {
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 2px;
}
.auto-vehicle-found-meta {
  font-size: .75rem;
  color: var(--muted);
}

/* ── Manual fallback ── */
.auto-manual-details {
  margin-top: 14px;
}
.auto-manual-summary {
  font-size: .78rem;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.auto-manual-summary::-webkit-details-marker { display: none; }
.auto-manual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

/* ── Form fields ── */
.auto-field { display: flex; flex-direction: column; gap: 5px; }
.auto-label { font-size: .78rem; font-weight: 600; color: var(--muted); }
.auto-input {
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s;
  min-height: 44px;
  appearance: none;
  -webkit-appearance: none;
}
select.auto-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}
.auto-input:focus { border-color: #ca8a04; }
.auto-textarea { resize: vertical; min-height: 100px; }
.auto-char-count {
  font-size: .72rem;
  color: var(--muted);
  text-align: right;
  margin: 0;
}
.auto-field-note {
  font-size: .75rem;
  color: var(--muted);
  margin: 4px 0 0;
  line-height: 1.5;
}
.auto-report-details {
  margin-top: 6px;
}
.auto-report-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.auto-report-summary::-webkit-details-marker { display: none; }
.auto-report-form { padding-bottom: 6px; }
.auto-price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 6px; }
.auto-input-euro {
  position: relative;
  display: flex;
  align-items: center;
}
.auto-input-euro .auto-input { padding-right: 32px; }
.auto-input-euro span {
  position: absolute;
  right: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
  pointer-events: none;
}
.auto-date-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }

/* ── Photo upload ── */
.auto-photo-zone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  overflow: hidden;
  position: relative;
}
.auto-photo-zone.dragover {
  border-color: #ca8a04;
  background: rgba(202,138,4,.04);
}
.auto-photo-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 24px;
  text-align: center;
}
.auto-photo-prompt p { font-size: .85rem; color: var(--muted); margin: 0; }
.auto-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px;
  width: 100%;
}
.auto-photo-thumb {
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--surface-2);
}
.auto-photo-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.auto-photo-thumb span {
  position: absolute;
  bottom: 4px; left: 4px;
  background: rgba(0,0,0,.6);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}
.auto-photo-thumb--main { border: 2px solid #ca8a04; }
.auto-photo-hint {
  font-size: .75rem;
  color: var(--muted);
  padding: 0 12px;
}

/* ── Pub recap ── */
.auto-pub-recap {
  background: rgba(202,138,4,.06);
  border: 1px solid rgba(202,138,4,.2);
  border-radius: 12px;
  padding: 14px;
  margin-top: 16px;
}
.auto-pub-recap-title {
  font-weight: 700;
  font-size: .82rem;
  color: #92400e;
  margin-bottom: 10px;
}
.auto-recap-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: 5px 0;
  border-bottom: 1px solid rgba(202,138,4,.12);
}
.auto-recap-row:last-child { border-bottom: none; }
.auto-recap-row span:last-child { font-weight: 600; }

/* ── Gallery (annonce page) ── */
.auto-annonce-page { padding: 0 0 100px; gap: 0; }
.auto-gallery { position: relative; }
.auto-gallery-main {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
}
.auto-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.auto-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .15s;
  z-index: 5;
}
.auto-gal-nav:active { background: rgba(0,0,0,.7); }
.auto-gal-nav--prev { left: 10px; }
.auto-gal-nav--next { right: 10px; }
.auto-gal-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}
.auto-gal-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.auto-gal-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.auto-gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.auto-gallery-thumbs::-webkit-scrollbar { display: none; }
.auto-gallery-thumb {
  width: 56px; height: 42px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: border-color .15s;
  background: var(--surface-2);
}
.auto-gallery-thumb.active { border-color: #ca8a04; }
.auto-gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Annonce body ── */
.auto-annonce-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 12px 0;
}
.auto-annonce-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.auto-annonce-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 4px;
  line-height: 1.2;
}
.auto-annonce-plate {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 600;
}
.auto-annonce-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.auto-annonce-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ca8a04;
  line-height: 1;
}
.auto-annonce-price-unit {
  font-size: .78rem;
  color: var(--muted);
  font-weight: 500;
}
.auto-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.auto-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.auto-info-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(202,138,4,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-info-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  margin-bottom: 3px;
}
.auto-info-val {
  font-size: .85rem;
  font-weight: 600;
}
.auto-desc-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.auto-desc-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.auto-desc-text {
  font-size: .87rem;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
}
.auto-active-rental {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(21,128,61,.07);
  border: 1px solid rgba(21,128,61,.2);
  border-radius: 12px;
}
.auto-active-rental-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(21,128,61,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-owner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.auto-owner-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.auto-owner-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.auto-owner-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.auto-owner-avatar--ph {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ca8a04;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-owner-name {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 2px;
}
.auto-owner-since { font-size: .75rem; color: var(--muted); }
.auto-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border: 1.5px solid #ca8a04;
  border-radius: 10px;
  color: #ca8a04;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: background .15s;
}
.auto-contact-btn:active { background: rgba(202,138,4,.08); }
.auto-owner-controls {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}
.auto-owner-controls-title {
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 12px;
}
.auto-owner-controls-btns { display: flex; gap: 10px; }

/* ── Sticky CTA ── */
.auto-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 30;
  max-width: 540px;
  margin: 0 auto;
}
.auto-sticky-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.auto-sticky-price-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ca8a04;
}
.auto-sticky-price-unit { font-size: .78rem; color: var(--muted); }
.auto-sticky-reserve {
  padding: 13px 28px;
  font-size: .95rem;
}

/* ── Reservation page ── */
.auto-reserver-vehicle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  margin: 0 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.auto-reserver-vehicle-img {
  width: 72px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.auto-reserver-vehicle-img--empty {
  width: 72px; height: 56px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-reserver-vehicle-info { flex: 1; min-width: 0; }
.auto-reserver-vehicle-name {
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auto-reserver-vehicle-plate { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.auto-reserver-vehicle-owner {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  color: var(--muted);
}
.auto-reserver-owner-img {
  width: 16px; height: 16px;
  border-radius: 50%; object-fit: cover;
}
.auto-reserver-owner-img--ph {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #ca8a04;
  color: #fff;
  font-size: .55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-reserver-vehicle-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.auto-reserver-price-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ca8a04;
}
.auto-reserver-price-unit { font-size: .72rem; color: var(--muted); }
.auto-price-recap {
  background: rgba(202,138,4,.06);
  border: 1px solid rgba(202,138,4,.18);
  border-radius: 12px;
  padding: 14px;
  margin-top: 14px;
}
.auto-price-recap-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(202,138,4,.1);
}
.auto-price-recap-row:last-of-type { border-bottom: none; }
.auto-price-recap-row--total {
  font-weight: 800;
  font-size: .95rem;
  color: #ca8a04;
  padding-top: 10px;
  border-top: 1px solid rgba(202,138,4,.25) !important;
  border-bottom: none;
}
.auto-price-note {
  font-size: .72rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.5;
}
.auto-trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(202,138,4,.05);
  border: 1px solid rgba(202,138,4,.15);
  border-radius: 12px;
  margin: 0 12px;
}
.auto-trust-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(202,138,4,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 16px;
  cursor: pointer;
}
.auto-terms-check input { margin-top: 2px; flex-shrink: 0; }
.auto-terms-check span { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ── Mes voitures ── */
.auto-wallet-topbar-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 700;
  color: #ca8a04;
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid rgba(202,138,4,.3);
  border-radius: 20px;
  background: rgba(202,138,4,.06);
}
.auto-wallet-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #78350f 0%, #92400e 100%);
  border-radius: 14px;
  margin: 0 12px;
  text-decoration: none;
  color: #fff;
}
.auto-wallet-banner-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  opacity: .75;
  margin-bottom: 4px;
}
.auto-wallet-banner-amount {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.auto-wallet-banner-sub { font-size: .75rem; opacity: .7; }
.auto-tabs {
  display: flex;
  gap: 0;
  padding: 0 12px;
  border-bottom: 2px solid var(--line);
}
.auto-tab {
  flex: 1;
  padding: 10px 12px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: color .15s;
}
.auto-tab.active { color: #ca8a04; border-bottom-color: #ca8a04; }
.auto-tab-count {
  background: var(--surface-2);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}
.auto-tab.active .auto-tab-count { background: rgba(202,138,4,.15); color: #92400e; }
.auto-tab-panel { padding: 0 12px; display: flex; flex-direction: column; gap: 12px; }
.auto-tab-action-row { display: flex; justify-content: flex-end; }
.auto-my-listing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.auto-my-listing-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
}
.auto-my-listing-img-wrap { flex-shrink: 0; }
.auto-my-listing-img {
  width: 72px; height: 56px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}
.auto-my-listing-img--empty {
  width: 72px; height: 56px;
  border-radius: 10px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auto-my-listing-info { flex: 1; min-width: 0; }
.auto-my-listing-name {
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.auto-my-listing-meta { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.auto-my-listing-price { font-size: .82rem; font-weight: 700; color: #ca8a04; margin-bottom: 5px; }
.auto-status-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.auto-status-badge--active { background: rgba(21,128,61,.1); color: #15803d; }
.auto-status-badge--paused { background: rgba(202,138,4,.1); color: #92400e; }
.auto-status-badge--confirmed { background: rgba(37,99,235,.1); color: #1d4ed8; }
.auto-status-badge--cancelled { background: rgba(220,38,38,.1); color: #dc2626; }
.auto-status-badge--completed { background: var(--surface-2); color: var(--muted); }
.auto-my-listing-rentals {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auto-my-listing-rentals-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #92400e;
  margin-bottom: 4px;
}
.auto-my-listing-no-rentals {
  font-size: .78rem;
  color: var(--muted);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.auto-rental-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--surface-2);
  border-radius: 10px;
}
.auto-rental-row-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}
.auto-rental-row-info { flex: 1; min-width: 0; }
.auto-rental-row-name { font-weight: 600; font-size: .82rem; }
.auto-rental-row-dates { font-size: .72rem; color: var(--muted); }
.auto-rental-row-right { text-align: right; }
.auto-rental-row-amount { font-weight: 700; font-size: .85rem; color: #15803d; }
.auto-chat-link {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(202,138,4,.1);
  color: #ca8a04;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background .15s;
}
.auto-chat-link:active { background: rgba(202,138,4,.2); }
.auto-rented-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: transform .15s;
}
.auto-rented-card:active { transform: scale(.98); }
.auto-rented-img {
  width: 72px; height: 56px;
  border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.auto-rented-img--empty {
  width: 72px; height: 56px;
  border-radius: 10px; background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.auto-rented-info { flex: 1; min-width: 0; }
.auto-rented-name { font-weight: 700; font-size: .88rem; margin-bottom: 2px; }
.auto-rented-plate { font-size: .7rem; color: var(--muted); margin-bottom: 4px; }
.auto-rented-dates { font-size: .78rem; }
.auto-rented-owner { font-size: .72rem; color: var(--muted); }
.auto-rented-right { text-align: right; flex-shrink: 0; }
.auto-rented-price { font-weight: 800; font-size: 1rem; color: #ca8a04; margin-bottom: 4px; }

/* ── Portefeuille ── */
.auto-wallet-hero {
  background: linear-gradient(135deg, #78350f 0%, #a16207 100%);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 0 12px;
  color: #fff;
}
.auto-wallet-hero-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  opacity: .7;
  margin-bottom: 6px;
}
.auto-wallet-hero-amount {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.auto-wallet-hero-held {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  background: rgba(0,0,0,.2);
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.auto-wallet-hero-total {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.auto-wallet-hero-total span:last-child { font-weight: 700; }
.auto-deblocage-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.auto-deblocage-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(202,138,4,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-transactions-title {
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: 14px;
}
.auto-transactions { display: flex; flex-direction: column; }
.auto-transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.auto-transaction:last-child { border-bottom: none; }
.auto-transaction-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.auto-transaction-icon--rental_received { background: rgba(21,128,61,.12); color: #15803d; }
.auto-transaction-icon--escrow_released { background: rgba(37,99,235,.1); color: #1d4ed8; }
.auto-transaction-icon--deposit_held { background: rgba(202,138,4,.1); color: #92400e; }
.auto-transaction-icon--deposit_released { background: rgba(107,114,128,.1); color: #6b7280; }
.auto-transaction-info { flex: 1; min-width: 0; }
.auto-transaction-desc {
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.auto-transaction-date { font-size: .7rem; color: var(--muted); }
.auto-transaction-amount {
  font-weight: 700;
  font-size: .88rem;
  flex-shrink: 0;
}
.auto-transaction-amount--positive { color: #15803d; }
.auto-transaction-amount--neutral { color: var(--muted); }
.auto-virement {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 28px 20px;
}
.auto-virement-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(202,138,4,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.auto-virement-title { font-weight: 700; font-size: .95rem; }
.auto-virement-sub { font-size: .78rem; color: var(--muted); max-width: 240px; line-height: 1.5; }
.auto-soon-badge {
  display: inline-block;
  margin-top: 4px;
  background: rgba(202,138,4,.1);
  color: #92400e;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Chat rental context ── */
.chat-rental-context {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.chat-rental-context-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
}
.chat-rental-context-link:active { background: var(--surface-2); }
.chat-rental-context-img-wrap {
  width: 52px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
}
.chat-rental-context-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.chat-rental-context-img--ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.chat-rental-context-info { flex: 1; min-width: 0; }
.chat-rental-context-title {
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.chat-rental-context-plate { font-size: .72rem; color: var(--muted); }
.chat-rental-context-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}
.chat-rental-context-price-num {
  font-weight: 800;
  font-size: .95rem;
  color: #ca8a04;
}
.chat-rental-context-price-unit { font-size: .68rem; color: var(--muted); }
.chat-rental-reserve-btn {
  font-size: .75rem;
  font-weight: 700;
  background: #ca8a04;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.chat-rental-reserve-btn:active { background: #a16207; }


/* ── Location Hub ──────────────────────────────────────────────────────────── */
.loc-hub-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.loc-hub-hero {
  padding: 36px 24px 20px;
  text-align: center;
}

.loc-hub-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 10px;
}

.loc-hub-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 10px;
  line-height: 1.1;
  color: var(--text);
}

.loc-hub-sub {
  font-size: .9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.loc-hub-cats {
  padding: 16px 16px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loc-cat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .18s, transform .18s, border-color .18s;
  box-shadow: 0 4px 20px rgba(29, 78, 216, 0.06);
}

.loc-cat-card:not(.loc-cat-card--disabled):hover,
.loc-cat-card:not(.loc-cat-card--disabled):active {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
  border-color: var(--blue);
}

.loc-cat-card--disabled {
  opacity: .6;
  cursor: default;
}

.loc-cat-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-cat-icon-wrap--auto {
  background: #fef9c3;
  color: #92400e;
}

.loc-cat-icon-wrap--mat {
  background: #f0fdf4;
  color: #166534;
}

.loc-cat-body {
  flex: 1;
  min-width: 0;
}

.loc-cat-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.loc-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.loc-cat-title-row .loc-cat-title {
  margin: 0;
}

.loc-cat-desc {
  font-size: .84rem;
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.55;
}

.loc-cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
}

.loc-cat-cta--muted {
  color: var(--muted);
}

.loc-cat-badge-soon {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 100px;
  padding: 2px 9px;
}

/* ── Wallet mini-banner (Mes voitures) ── */
.pw-mini-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 55%, #fef9e7 100%);
  border: 1px solid rgba(202,138,4,.25);
  border-radius: 16px;
  margin: 0 12px;
  text-decoration: none;
  color: #78350f;
  box-shadow: 0 4px 18px rgba(202,138,4,.14);
  transition: box-shadow .15s, border-color .15s;
}
.pw-mini-banner:active { box-shadow: 0 6px 24px rgba(202,138,4,.22); border-color: rgba(202,138,4,.4); }
.pw-mini-banner-left { display: flex; align-items: center; gap: 13px; }
.pw-mini-banner-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(202,138,4,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pw-mini-banner-label {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(120,53,15,.6);
  margin: 0 0 2px;
}
.pw-mini-banner-amount {
  font-size: .98rem;
  font-weight: 800;
  margin: 0;
  color: #92400e;
}
.pw-mini-banner-sub {
  font-size: .8rem;
  font-weight: 400;
  color: rgba(120,53,15,.55);
}
body.dark-mode .pw-mini-banner {
  background: linear-gradient(135deg, #451a03 0%, #78350f 50%, #92400e 100%);
  border-color: rgba(202,138,4,.45);
  color: #fef3c7;
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
}
body.dark-mode .pw-mini-banner-label { color: rgba(254,243,199,.6); }
body.dark-mode .pw-mini-banner-amount { color: #fde68a; }
body.dark-mode .pw-mini-banner-sub { color: rgba(254,243,199,.5); }
body.dark-mode .pw-mini-banner-icon { background: rgba(255,255,255,.13); }
