/* ═══════════════════════════════════════════════════════════
   AUTOREVENDA — Admin Panel v2 (Modern)
   Fonts: Bricolage Grotesque + Plus Jakarta Sans + DM Mono
   Brand: Emerald Green #059669 → #10b981 → #34d399
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700;12..96,800&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap');

:root {
  --bg:           #080F1E;
  --surface:      #0D1628;
  --surface-2:    #111E35;
  --surface-3:    #162440;
  --card:         rgba(255,255,255,0.035);
  --card-hover:   rgba(255,255,255,0.06);
  --card-glass:   rgba(255,255,255,0.04);
  --border:       rgba(255,255,255,0.07);
  --border-2:     rgba(255,255,255,0.12);
  --sidebar-from: #060D1A;
  --sidebar-to:   #0B1D3A;

  /* Brand colors matching front site */
  --brand-400: #34d399;
  --brand-500: #10b981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-dim:  rgba(16,185,129,0.12);
  --brand-glow: rgba(16,185,129,0.25);
  --brand-glow-lg: rgba(16,185,129,0.35);
  --sky-500:   #0ea5e9;

  /* Semantic colors */
  --emerald:      #059669;
  --emerald-2:    #10B981;
  --emerald-3:    #34D399;
  --emerald-dim:  rgba(5,150,105,0.12);
  --emerald-glow: rgba(5,150,105,0.22);
  --amber:        #D97706;
  --amber-dim:    rgba(217,119,6,0.12);
  --red:          #DC2626;
  --red-dim:      rgba(220,38,38,0.10);
  --blue:         #2563EB;
  --blue-dim:     rgba(37,99,235,0.12);
  --sky:          #0284C7;
  --sky-dim:      rgba(2,132,199,0.12);
  --text:         #E2E8F0;
  --text-2:       #94A3B8;
  --text-3:       #64748B;
  --white:        #FFFFFF;
  --r:            12px;
  --r-lg:         16px;
  --r-xl:         20px;
  --r-xxl:        24px;
  --shadow:       0 4px 20px rgba(0,0,0,0.35);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.45);
  --shadow-glow:  0 0 40px -10px var(--brand-glow);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg); color: var(--text);
  display: flex; min-height: 100vh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: 'Bricolage Grotesque', sans-serif; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input,select,textarea,button { font-family: inherit; }

/* ═══════════════════════════════════════════════════════
   GRADIENT TEXT UTILITY
═══════════════════════════════════════════════════════ */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-400) 0%, var(--sky-500) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s var(--ease-out); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 80ms; }
.delay-2 { transition-delay: 160ms; }
.delay-3 { transition-delay: 240ms; }
.delay-4 { transition-delay: 320ms; }

/* ═══════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════ */
.sidebar {
  width: 260px; min-height: 100vh; position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--sidebar-from) 0%, var(--sidebar-to) 100%);
  border-right: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
}
.main { flex: 1; margin-left: 260px; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.sidebar-logo { padding: 24px 20px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.logo-icon { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 20px -5px var(--brand-glow); }
.logo-icon i { font-size: 18px; color: white; }
.logo-text { font-family: 'Bricolage Grotesque', sans-serif; font-size: 17px; font-weight: 800; color: var(--white); letter-spacing: -.5px; }

.sidebar-user { margin: 16px 12px; padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 800; color: #fff; flex-shrink: 0; box-shadow: 0 0 16px -4px var(--brand-glow); }
#userAvatar { font-size: 16px; }
.user-info { min-width: 0; }
#userName { font-size: 13px; font-weight: 600; color: var(--white); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-plan { font-size: 11px; color: var(--text-3); margin-top: 2px; display: block; }
.credit-badge { display: flex; align-items: center; gap: 5px; background: var(--brand-dim); border: 1px solid rgba(16,185,129,0.2); border-radius: 6px; padding: 3px 8px; margin-top: 5px; }
.credit-badge-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-400); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
.credit-badge-val { font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; color: var(--brand-400); }

.sidebar-nav { flex: 1; padding: 12px 12px; overflow-y: auto; }
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.22); padding: 14px 12px 8px; }
.nav-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; }
.nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.45);
  transition: all .2s var(--ease-out); cursor: pointer; border: none; background: none; text-align: left; width: 100%;
  position: relative;
}
.nav-link i { font-size: 18px; width: 20px; text-align: center; flex-shrink: 0; }
.nav-link:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); }
.nav-link.active {
  background: linear-gradient(90deg, var(--brand-dim) 0%, transparent 100%);
  color: var(--brand-400);
}
.nav-link.active i { color: var(--brand-400); }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 20px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-600));
}
.nav-badge { margin-left: auto; background: var(--brand-500); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 50px; box-shadow: 0 0 12px -3px var(--brand-glow); }

.sidebar-footer { padding: 14px 12px; border-top: 1px solid var(--border); }
.sidebar-footer .nav-link { color: var(--text-3); }
.sidebar-footer .nav-link:hover { color: var(--red); background: var(--red-dim); }

/* ═══════════════════════════════════════════════════════
   MAIN HEADER
═══════════════════════════════════════════════════════ */
.main-header {
  background: rgba(13,22,40,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 18px 32px; position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.page-title h1 { font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.6px; }
.page-title p  { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-sidebar-toggle { display: none; background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 8px; color: var(--text-2); cursor: pointer; }

/* ═══════════════════════════════════════════════════════
   CONTENT
═══════════════════════════════════════════════════════ */
.content { padding: 28px 32px; flex: 1; }
.content-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.content-title { font-size: 18px; font-weight: 700; color: var(--white); letter-spacing: -.4px; }

/* ═══════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════ */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: all .25s var(--ease-out);
}
.card:hover { border-color: var(--border-2); background: var(--card-hover); }

.card-glass {
  background: var(--card-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.card-lift { transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out); }
.card-lift:hover { transform: translateY(-4px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.4); }

.card-header { padding: 20px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--white); letter-spacing: -.3px; }
.card-body { padding: 24px; }
.card-action-link { font-size: 13px; color: var(--brand-400); font-weight: 500; transition: color .18s; display: inline-flex; align-items: center; gap: 4px; }
.card-action-link:hover { color: var(--brand-300); gap: 6px; }

/* ═══════════════════════════════════════════════════════
   STATS GRID (Modern)
═══════════════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px 20px;
  transition: all .3s var(--ease-out);
  position: relative; overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: 0 8px 30px -6px rgba(0,0,0,0.35); }
.stat-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; position: relative;
}
.si-green::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, var(--brand-dim), transparent); }
.si-blue::before   { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, var(--blue-dim), transparent); }
.si-amber::before  { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, var(--amber-dim), transparent); }
.si-sky::before    { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, var(--sky-dim), transparent); }
.stat-icon i, .stat-icon svg { position: relative; z-index: 1; }
.si-green  i { color: var(--brand-400); }
.si-blue   i { color: #93C5FD; }
.si-amber  i { color: #FCD34D; }
.si-sky    i { color: #7DD3FC; }
.stat-change { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 50px; }
.sc-up   { background: var(--brand-dim); color: var(--brand-400); }
.sc-down { background: var(--red-dim); color: #F87171; }
.sc-neutral { background: rgba(255,255,255,0.06); color: var(--text-3); }
.stat-value { font-family: 'DM Mono', monospace; font-size: 30px; font-weight: 500; color: var(--white); letter-spacing: -2px; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════
   STATS variants
═══════════════════════════════════════════════════════ */
.stat-card-green::before { background: linear-gradient(90deg, var(--brand-600), var(--brand-400)); }
.stat-card-blue::before  { background: linear-gradient(90deg, var(--blue), #60A5FA); }
.stat-card-amber::before { background: linear-gradient(90deg, var(--amber), #FBBF24); }
.stat-card-sky::before   { background: linear-gradient(90deg, var(--sky), #38BDF8); }

/* Minified stat for sub-pages */
.stat-card-sm { padding: 16px; }
.stat-card-sm .stat-value { font-size: 22px; letter-spacing: -1.5px; }
.stat-card-sm .stat-icon { width: 36px; height: 36px; font-size: 18px; }

/* ═══════════════════════════════════════════════════════
   GRID LAYOUTS
═══════════════════════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

/* Quick Actions Row */
.quick-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }

/* ═══════════════════════════════════════════════════════
   BUTTONS (Modern with brand gradients)
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; border-radius: 50px;
  border: none; cursor: pointer;
  transition: all .25s var(--ease-out); white-space: nowrap;
}
.btn:active { transform: scale(.96) !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-500));
  color: #fff; padding: 10px 20px;
  box-shadow: 0 4px 16px var(--brand-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--brand-glow-lg);
}

.btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--text); padding: 10px 20px; border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--border-2); transform: translateY(-1px); }

.btn-danger {
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: #fff; padding: 10px 20px;
  box-shadow: 0 4px 16px rgba(220,38,38,0.25);
}
.btn-danger:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.35); }

.btn-ghost {
  background: transparent; color: var(--text-2); padding: 10px 18px; border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--white); border-color: var(--border-2); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--brand-400); padding: 10px 20px;
  border: 1.5px solid var(--brand-500);
}
.btn-outline:hover { background: var(--brand-dim); transform: translateY(-1px); }

.btn-gradient {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-400));
  color: #fff; padding: 10px 20px;
  box-shadow: 0 4px 20px var(--brand-glow);
}
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--brand-glow-lg); }

.btn-sm  { padding: 7px 16px !important; font-size: 12px !important; border-radius: 8px !important; }
.btn-lg  { padding: 14px 28px !important; font-size: 15px !important; }
.btn-xl  { padding: 16px 36px !important; font-size: 16px !important; }
.btn-block { width: 100%; justify-content: center; }
.btn i, .btn svg { flex-shrink: 0; font-size: 1.1em; }

/* ═══════════════════════════════════════════════════════
   BADGES / STATUS (with animated dot)
═══════════════════════════════════════════════════════ */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: badge-pulse 2s ease-in-out infinite; }
@keyframes badge-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.badge-active  { background: var(--brand-dim); color: var(--brand-400); border: 1px solid rgba(16,185,129,.2); }
.badge-paused  { background: var(--amber-dim); color: #FCD34D; border: 1px solid rgba(217,119,6,.2); }
.badge-sold    { background: rgba(99,102,241,.1); color: #A5B4FC; border: 1px solid rgba(99,102,241,.2); }
.badge-new     { background: var(--sky-dim); color: #7DD3FC; border: 1px solid rgba(2,132,199,.2); }
.badge-contact { background: var(--blue-dim); color: #93C5FD; border: 1px solid rgba(37,99,235,.2); }
.badge-conv    { background: var(--brand-dim); color: var(--brand-400); border: 1px solid rgba(16,185,129,.2); }

/* ═══════════════════════════════════════════════════════
   TABLES (Modern)
═══════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; border-radius: 0 0 var(--r-xl) var(--r-xl); }
table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 14px 16px; text-align: left;
  font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text-3); border-bottom: 1px solid var(--border); white-space: nowrap;
  position: sticky; top: 0; background: var(--bg);
}
tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background .2s, transform .2s;
}
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.03); }
tbody td { padding: 14px 16px; font-size: 14px; color: var(--text); vertical-align: middle; }
.vehicle-info { display: flex; align-items: center; gap: 12px; }
.vehicle-thumb {
  width: 52px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--surface-3), var(--surface-2));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.vehicle-name { font-size: 14px; font-weight: 600; color: var(--white); }
.vehicle-brand { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.vehicle-price { font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 500; color: var(--brand-400); }
.table-actions { display: flex; align-items: center; gap: 6px; }
.action-btn {
  width: 34px; height: 34px; border-radius: 8px; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .18s var(--ease-out);
}
.action-btn-edit   { background: var(--blue-dim); color: #93C5FD; }
.action-btn-toggle { background: var(--amber-dim); color: #FCD34D; }
.action-btn-delete { background: var(--red-dim); color: #F87171; }
.action-btn:hover { opacity: .85; transform: scale(1.12); }
.action-btn i { font-size: 15px; }

.table-filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════
   FORMS (Modern)
═══════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.form-label span { color: var(--red); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-size: 14px; color: var(--white); outline: none;
  transition: all .25s var(--ease-out);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-dim), 0 0 20px -8px var(--brand-glow);
  background: var(--surface-3);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-3); }
.form-select { cursor: pointer; }
.form-select option { background: var(--surface-2); }
.form-select:disabled {
  opacity: .5;
  cursor: not-allowed;
  background: linear-gradient(110deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%);
  background-size: 200% 100%;
  animation: fipe-loading 1.5s ease-in-out infinite;
}
@keyframes fipe-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-help { font-size: 12px; color: var(--text-3); margin-top: 3px; }
.form-hint { font-size: 11px; color: var(--text-3); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }

/* Checkbox options grid */
.options-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.add-option { display: flex; gap: 10px; margin-top: 14px; }
.option-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: all .18s var(--ease-out);
}
.option-item:hover { border-color: var(--border-2); }
.option-item:active { transform: scale(.97); }
.option-item input[type="checkbox"] { accent-color: var(--brand-500); width: 16px; height: 16px; cursor: pointer; }
.option-item:has(input:checked) { border-color: var(--brand-500); background: var(--brand-dim); }
.option-item:has(input:checked) span { color: var(--brand-400); }
.option-item span { font-size: 13px; color: var(--text-2); transition: color .18s; }
.custom-option { position: relative; }
.remove-option {
  margin-left: auto; background: none; border: none;
  color: var(--text-3); cursor: pointer; padding: 4px;
  border-radius: 6px; transition: all .18s var(--ease-out);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; line-height: 1;
}
.remove-option:hover { color: var(--red); background: var(--red-dim); }
.custom-option:has(input:not(:checked)) { opacity: .5; }

/* File upload */
.file-upload-area {
  border: 1.5px dashed var(--border-2); border-radius: var(--r-lg);
  padding: 32px; text-align: center;
  transition: all .25s var(--ease-out); cursor: pointer;
}
.file-upload-area:hover {
  border-color: var(--brand-500); background: var(--brand-dim);
  box-shadow: 0 0 30px -12px var(--brand-glow);
}
.file-upload-area input[type="file"] { display: none; }
.file-upload-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-3); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.file-upload-area p { font-size: 14px; color: var(--text-2); }
.file-upload-area span { font-size: 12px; color: var(--text-3); }
.file-upload-area strong { color: var(--brand-400); }

/* Image preview grid */
.preview-fotos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.preview-foto { width: 100px; height: 80px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); position: relative; }
.preview-foto img { width: 100%; height: 100%; object-fit: cover; }
.preview-foto .remove-foto { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; border: 2px solid var(--surface-1); display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer; }

/* Upload progress */
.upload-progress { margin-top: 14px; }
.progress-bar { height: 6px; background: var(--surface-3); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg,var(--brand-500),var(--brand-400)); border-radius: 10px; transition: width .3s ease; }
.progress-text { font-size: 12px; color: var(--text-3); margin-top: 6px; display: block; text-align: center; }

/* Input with prefix */
.input-with-prefix { display: flex; }
.input-prefix { background: var(--surface-3); border: 1px solid var(--border); border-right: none; border-radius: 10px 0 0 10px; padding: 10px 12px; font-size: 13px; color: var(--text-3); display: flex; align-items: center; white-space: nowrap; }
.input-with-prefix .form-input { border-radius: 0 10px 10px 0; }

/* FIPE Price Card */
.fipe-price-card {
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-top: 4px;
}
.fipe-price-header {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand-400);
  margin-bottom: 14px;
}
.fipe-price-body {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.fipe-price-value {
  font-family: 'DM Mono', monospace;
  font-size: 28px; font-weight: 500;
  color: var(--white);
}
.fipe-price-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--text-3);
}
.fipe-price-badge {
  background: var(--surface-3); padding: 3px 10px;
  border-radius: 6px; font-family: 'DM Mono', monospace; font-size: 11px;
}
.fipe-compare {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px; color: var(--text-3);
}
.fipe-compare-value { font-weight: 600; font-family: 'DM Mono', monospace; font-size: 14px; }

/* FIPE Chart Section */
.fipe-chart-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.fipe-chart-header {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-3);
  margin-bottom: 12px; letter-spacing: 0.3px;
}
.fipe-chart-wrap {
  position: relative;
  width: 100%;
  height: 180px;
}
.fipe-chart-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ═══════════════════════════════════════════════════════
   LEADS
═══════════════════════════════════════════════════════ */
.leads-grid { display: flex; flex-direction: column; gap: 12px; }
.lead-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all .25s var(--ease-out);
}
.lead-item:hover { border-color: var(--border-2); background: var(--card-hover); transform: translateX(3px); }
.lead-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-dim), var(--surface-2));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 17px; font-weight: 700; color: var(--brand-400);
  flex-shrink: 0; border: 1px solid rgba(16,185,129,.15);
}
.lead-content { flex: 1; min-width: 0; }
.lead-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 5px; }
.lead-name { font-size: 14px; font-weight: 600; color: var(--white); }
.lead-date { font-size: 12px; color: var(--text-3); white-space: nowrap; }
.lead-vehicle { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--brand-400); margin-bottom: 6px; }
.lead-phone { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--text-3); }
.lead-message { font-size: 13px; color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; }
.lead-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.btn-whatsapp {
  background: rgba(37,211,102,0.12); color: #25D366;
  border: 1px solid rgba(37,211,102,0.22);
  padding: 6px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all .18s var(--ease-out);
}
.btn-whatsapp:hover { background: rgba(37,211,102,0.2); transform: translateY(-1px); }
.btn-whatsapp i { font-size: 16px; }

/* ═══════════════════════════════════════════════════════
   CAMPAIGNS / PROGRESS
═══════════════════════════════════════════════════════ */
.progress-bar-wrap { background: rgba(255,255,255,0.05); border-radius: 50px; height: 8px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  position: relative; overflow: hidden;
  transition: width .6s var(--ease-out);
}
.progress-bar-fill::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  animation: shimmer 2.5s infinite;
}
.progress-bar-blue .progress-bar-fill { background: linear-gradient(90deg, var(--blue), #60A5FA); }
@keyframes shimmer { 0%{left:-100%} 100%{left:100%} }
.campaign-budget { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--text-2); }
.campaign-spent  { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--brand-400); }

/* ═══════════════════════════════════════════════════════
   RECHARGE
═══════════════════════════════════════════════════════ */
.recharge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.recharge-planos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recharge-plano {
  background: var(--surface-2); border: 1.5px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 18px; cursor: pointer;
  transition: all .25s var(--ease-out);
  position: relative;
}
.recharge-plano:hover { border-color: rgba(16,185,129,.3); transform: translateY(-3px); box-shadow: 0 8px 24px -6px rgba(0,0,0,0.3); }
.recharge-plano.selected { border-color: var(--brand-500); background: var(--brand-dim); box-shadow: 0 0 30px -12px var(--brand-glow); }
.recharge-plano.selected::before {
  content: ''; position: absolute; top: -1px; left: 20px; right: 20px; height: 2px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  border-radius: 0 0 2px 2px;
}
.plano-info h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.plano-info p { font-size: 12px; color: var(--text-3); }
.plano-price { font-family: 'Bricolage Grotesque', sans-serif; font-size: 26px; font-weight: 800; color: var(--white); letter-spacing: -1px; margin-bottom: 5px; }
.plano-bonus { font-size: 12px; color: var(--brand-400); font-weight: 600; display: flex; align-items: center; gap: 4px; }

.recharge-summary { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row.total { border-top: 1px solid var(--border-2); border-bottom: none; padding-top: 16px; margin-top: 6px; }
.summary-label-total { font-family: 'Bricolage Grotesque', sans-serif; font-size: 15px; font-weight: 700; color: var(--white); }
.summary-value { font-family: 'DM Mono', monospace; font-size: 14px; color: var(--white); }
.summary-value-bonus { font-family: 'DM Mono', monospace; font-size: 14px; color: var(--brand-400); }
.summary-value-total { font-family: 'DM Mono', monospace; font-size: 22px; font-weight: 500; color: var(--brand-400); letter-spacing: -1px; }

.payment-methods { margin: 16px 0; display: flex; gap: 10px; }
.payment-method { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--surface-3); border: 1.5px solid var(--border); border-radius: 10px; cursor: pointer; transition: all .2s var(--ease-out); }
.payment-method input[type="radio"] { accent-color: var(--brand-500); }
.payment-method.active { border-color: var(--brand-500); background: var(--brand-dim); }
.payment-method span { font-size: 13px; font-weight: 600; color: var(--text); }

/* ═══════════════════════════════════════════════════════
   CONFIG / SETTINGS
═══════════════════════════════════════════════════════ */
.user-list { display: flex; flex-direction: column; gap: 10px; }
.user-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); transition: all .2s var(--ease-out); }
.user-item:hover { border-color: var(--border-2); transform: translateX(3px); }
.user-item-avatar { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.ua-admin  { background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); color: #fff; }
.ua-seller { background: var(--surface-3); color: var(--text-2); }
.user-item-info { flex: 1; }
.user-item-name  { font-size: 14px; font-weight: 600; color: var(--white); }
.user-item-email { font-size: 12px; color: var(--text-3); margin-top: 2px; }

input[type="color"] { -webkit-appearance: none; width: 48px; height: 40px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: none; padding: 4px; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 5px; }

/* ═══════════════════════════════════════════════════════
   LOGIN PAGE (Enhanced)
═══════════════════════════════════════════════════════ */
.login-page { width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); position: relative; overflow: hidden; padding: 24px; }
.login-page::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(16,185,129,.04) 1px, transparent 1px); background-size: 30px 30px; pointer-events: none; }
.login-orb-1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(16,185,129,.06); filter: blur(100px); top: -150px; left: -100px; pointer-events: none; }
.login-orb-2 { position: absolute; width: 350px; height: 350px; border-radius: 50%; background: rgba(14,165,233,.05); filter: blur(80px); bottom: -100px; right: -80px; pointer-events: none; }
.login-box { width: 100%; max-width: 420px; position: relative; z-index: 1; }
.login-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 36px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); letter-spacing: -.5px; }
.login-logo-icon { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--brand-600), var(--brand-400)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 20px -5px var(--brand-glow); }
.login-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 36px; box-shadow: 0 0 60px -20px rgba(16,185,129,0.12); }
.login-card h2 { font-size: 24px; font-weight: 800; color: var(--white); letter-spacing: -.8px; margin-bottom: 6px; }
.login-card p  { font-size: 14px; color: var(--text-3); margin-bottom: 28px; }
.login-alert { background: var(--sky-dim); border: 1px solid rgba(2,132,199,.2); border-radius: 10px; padding: 12px 16px; margin-bottom: 24px; font-size: 13px; color: #7DD3FC; display: flex; align-items: flex-start; gap: 8px; }
.login-alert i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-divider span { font-size: 12px; color: var(--text-3); }
.btn-google { background: var(--surface-2); border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 11px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s var(--ease-out); }
.btn-google:hover { background: var(--surface-3); border-color: var(--border-2); transform: translateY(-1px); }
.login-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-3); }
.login-footer a { color: var(--brand-400); }

/* ═══════════════════════════════════════════════════════
   ALERTS / TOASTS
═══════════════════════════════════════════════════════ */
.alert { padding: 14px 18px; border-radius: var(--r); font-size: 13px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.alert-info    { background: var(--sky-dim); border: 1px solid rgba(2,132,199,.2); color: #7DD3FC; }
.alert-success { background: var(--brand-dim); border: 1px solid rgba(16,185,129,.2); color: var(--brand-400); }
.alert-warning { background: var(--amber-dim); border: 1px solid rgba(217,119,6,.2); color: #FCD34D; }

.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 12px;
  font-size: 14px; font-weight: 500; min-width: 280px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  transform: translateX(30px); opacity: 0;
  transition: all .35s var(--ease-out);
  pointer-events: all;
}
.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { background: var(--surface-2); border: 1px solid rgba(16,185,129,.3); color: var(--brand-400); }
.toast.error   { background: var(--surface-2); border: 1px solid rgba(220,38,38,.3); color: #F87171; }
.toast.warning { background: var(--surface-2); border: 1px solid rgba(217,119,6,.3); color: #FCD34D; }

.toast-icon { width: 18px; height: 18px; flex-shrink: 0; }

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scale-in {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}

/* Content entry */
.content { animation: fade-in-up .5s var(--ease-out) both; }

/* Staggered stat cards */
.stat-card { animation: fade-in-up .5s var(--ease-out) both; }
.stat-card:nth-child(1) { animation-delay: .04s; }
.stat-card:nth-child(2) { animation-delay: .08s; }
.stat-card:nth-child(3) { animation-delay: .12s; }
.stat-card:nth-child(4) { animation-delay: .16s; }

/* Staggered cards */
.content > .card { animation: fade-in-up .5s var(--ease-out) both; }
.content > .card:nth-of-type(1) { animation-delay: .05s; }
.content > .card:nth-of-type(2) { animation-delay: .1s; }
.content > .card:nth-of-type(3) { animation-delay: .15s; }

/* Staggered lead items */
.lead-item { animation: fade-in-up .4s var(--ease-out) both; }
.lead-item:nth-child(1) { animation-delay: .04s; }
.lead-item:nth-child(2) { animation-delay: .08s; }
.lead-item:nth-child(3) { animation-delay: .12s; }
.lead-item:nth-child(4) { animation-delay: .16s; }
.lead-item:nth-child(5) { animation-delay: .2s; }

/* Staggered table rows */
tbody tr { animation: fade-in .35s ease both; }
tbody tr:nth-child(1) { animation-delay: .02s; }
tbody tr:nth-child(2) { animation-delay: .04s; }
tbody tr:nth-child(3) { animation-delay: .06s; }
tbody tr:nth-child(4) { animation-delay: .08s; }
tbody tr:nth-child(5) { animation-delay: .1s; }
tbody tr:nth-child(6) { animation-delay: .12s; }
tbody tr:nth-child(7) { animation-delay: .14s; }
tbody tr:nth-child(8) { animation-delay: .16s; }

/* Staggered recharge planos */
.recharge-plano { animation: fade-in-up .4s var(--ease-out) both; }
.recharge-plano:nth-child(1) { animation-delay: .05s; }
.recharge-plano:nth-child(2) { animation-delay: .1s; }
.recharge-plano:nth-child(3) { animation-delay: .15s; }
.recharge-plano:nth-child(4) { animation-delay: .2s; }

/* ═══════════════════════════════════════════════════════
   MODALS
═══════════════════════════════════════════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.65); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 32px; max-width: 480px; width: 100%; box-shadow: var(--shadow-lg); transform: scale(.95) translateY(10px); transition: transform .25s var(--ease-out); }
.modal-overlay.open .modal { transform: none; }
.modal-title { font-size: 20px; font-weight: 800; color: var(--white); letter-spacing: -.6px; margin-bottom: 8px; }
.modal-desc { font-size: 14px; color: var(--text-3); margin-bottom: 24px; line-height: 1.65; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }

/* ═══════════════════════════════════════════════════════
   EMPTY STATES
═══════════════════════════════════════════════════════ */
.empty-state { padding: 60px 24px; text-align: center; }
.empty-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.empty-icon i { font-size: 28px; color: var(--text-3); }
.empty-title { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; letter-spacing: -.4px; }
.empty-desc  { font-size: 14px; color: var(--text-3); margin-bottom: 24px; }

/* ══════════════════════════════════════════════════════
   Dashboard Financial Summary
═══════════════════════════════════════════════════════ */
.financial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.financial-item { text-align: center; padding: 20px 16px; }
.financial-item + .financial-item { border-left: 1px solid var(--border); }
.financial-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-3); margin-bottom: 10px; }
.financial-value { font-family: 'DM Mono', monospace; font-size: 26px; font-weight: 500; color: var(--white); letter-spacing: -1px; }
.financial-value.highlight { color: var(--brand-400); }
.financial-trend { font-size: 11px; margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 4px; }

/* Saldo card in header */
.saldo-card { background: var(--brand-dim); border: 1px solid rgba(16,185,129,0.2); border-radius: 10px; padding: 8px 16px; display: flex; align-items: center; gap: 10px; }
.saldo-card .label { font-size: 10px; font-weight: 600; color: var(--text-3); letter-spacing: 0.5px; }
.saldo-card .value { font-family: 'DM Mono', monospace; font-size: 16px; font-weight: 600; color: var(--brand-400); letter-spacing: -.5px; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media(max-width:1024px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .recharge-grid{grid-template-columns:1fr}
  .content{padding:24px 20px}
  .grid-3{grid-template-columns:1fr 1fr}
  .financial-grid{grid-template-columns:1fr 1fr}
  .financial-item + .financial-item { border-left: none; }
  .financial-item:nth-child(2) { border-left: 1px solid var(--border); }
}
@media(max-width:768px){
  .sidebar{transform:translateX(-100%);transition:transform .3s var(--ease-out)}
  .sidebar.open{transform:translateX(0);box-shadow:0 0 0 9999px rgba(0,0,0,.5)}
  .main{margin-left:0}
  .mobile-sidebar-toggle{display:flex}
  .content{padding:20px 16px}
  .stats-grid{gap:12px}
  .grid-2,.form-grid{grid-template-columns:1fr;gap:16px}
  .options-grid{grid-template-columns:1fr 1fr}
  .main-header{padding:14px 16px}
  .table-filter{flex-direction:column;align-items:flex-start;width:100%}
  .table-filter .form-select,.table-filter .form-input{width:100%!important}
  .header-actions .saldo-card{display:none}
  .page-title h1{font-size:17px}
  .page-title p{font-size:11px}
  .stat-card{padding:16px}
  .stat-value{font-size:24px}
  .card-header{padding:16px 18px}
  .card-body{padding:18px}
  .table-wrap td,.table-wrap th{padding:12px 14px}
  .lead-item{padding:14px 16px;gap:12px}
  .lead-avatar{width:36px;height:36px;font-size:14px}
  .recharge-plano{padding:16px}
  .plano-price{font-size:22px}
  .toast{min-width:auto;left:16px;right:16px;bottom:16px}
  .financial-grid{grid-template-columns:1fr}
  .financial-item + .financial-item { border-left: none; }
  .quick-actions{gap:8px}
  .quick-actions .btn{flex:1;justify-content:center}
}
@media(max-width:480px){
  .stats-grid{grid-template-columns:1fr;gap:10px}
  .options-grid{grid-template-columns:1fr}
  .recharge-planos{grid-template-columns:1fr}
  .content{padding:16px 12px}
  .main-header{padding:12px}
  .card-header{padding:14px 14px;flex-wrap:wrap}
  .card-body{padding:14px}
  .table-wrap td,.table-wrap th{padding:10px 10px;font-size:12px}
  .vehicle-info{gap:8px}
  .vehicle-thumb{width:40px;height:32px}
  .vehicle-name{font-size:12px}
  .empty-state{padding:40px 16px}
  .lead-message{-webkit-line-clamp:3}
  .lead-top{flex-direction:column;gap:4px}
  .lead-date{font-size:11px}
  .lead-actions{flex-direction:column;align-items:stretch}
  .btn-whatsapp{justify-content:center}
  .financial-item{padding:16px 12px}
  .financial-value{font-size:22px}
}
