/* ============================================================
   Villa San Juan Norte — Design System
   Dark theme · Gradient: #e91e8c → #ff6b00
   Mobile-first · Clean Code
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  --grad:        linear-gradient(135deg, #e91e8c 0%, #fc4a1a 50%, #ff6b00 100%);
  --grad-soft:   linear-gradient(135deg, rgba(233,30,140,.15) 0%, rgba(255,107,0,.15) 100%);
  --grad-border: linear-gradient(135deg, #e91e8c, #ff6b00);
  --pink:        #e91e8c;
  --orange:      #ff6b00;

  --bg:          #0a0a0a;
  --bg-card:     #141414;
  --bg-surface:  #1e1e1e;
  --bg-input:    #1a1a1a;
  --bg-hover:    #242424;

  --text:        #f0f0f0;
  --text-muted:  #777;
  --text-soft:   #aaa;
  --border:      rgba(255,255,255,.07);
  --border-soft: rgba(255,255,255,.04);

  --success:     #00c853;
  --danger:      #ff3d57;
  --warning:     #ffc107;
  --info:        #29b6f6;

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow:      0 4px 24px rgba(0,0,0,.4);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.6);
  --shadow-grad: 0 4px 24px rgba(233,30,140,.25);

  --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition:  .2s cubic-bezier(.4,0,.2,1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   UTILIDADES
   ============================================================ */
.text-center   { text-align: center; }
.text-right    { text-align: right; }
.text-muted    { color: var(--text-muted); }
.text-soft     { color: var(--text-soft); }
.text-grad     { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.font-bold     { font-weight: 700; }
.font-black    { font-weight: 800; }
.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.w-100 { width: 100%; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.p-1  { padding: .5rem; }
.p-2  { padding: 1rem; }
.p-3  { padding: 1.5rem; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-grad);
}
.btn-primary:hover { opacity: .9; }

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-hover); }

.btn-success  { background: var(--success); color: #fff; }
.btn-danger   { background: var(--danger);  color: #fff; }
.btn-warning  { background: var(--warning); color: #000; }
.btn-info     { background: var(--info);    color: #000; }
.btn-light    { background: var(--bg-surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost    { background: transparent; color: var(--text-soft); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-surface); color: var(--text); }

.btn-sm  { padding: .4rem .9rem; font-size: .8rem; border-radius: 6px; }
.btn-lg  { padding: .85rem 1.75rem; font-size: 1rem; border-radius: var(--radius); }
.btn-xl  { padding: 1rem 2rem; font-size: 1.05rem; border-radius: var(--radius); }
.btn-block { width: 100%; }

/* Botón con borde gradiente */
.btn-grad-outline {
  background: var(--bg-card);
  color: var(--text);
  position: relative;
  border: 1.5px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 0 0 1.5px #e91e8c, 0 0 0 1.5px #ff6b00;
  background-image: linear-gradient(var(--bg-card), var(--bg-card)),
                    var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 1.5px solid transparent;
}

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  margin-bottom: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font);
  transition: var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  outline: none;
  border-color: #e91e8c;
  box-shadow: 0 0 0 3px rgba(233,30,140,.15);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header h2,
.card-header h3 { font-size: .95rem; font-weight: 700; color: var(--text); }
.card-body { padding: 1.25rem; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-block;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.badge-success   { background: rgba(0,200,83,.15);  color: #00c853; border: 1px solid rgba(0,200,83,.25); }
.badge-danger    { background: rgba(255,61,87,.15); color: #ff3d57; border: 1px solid rgba(255,61,87,.25); }
.badge-warning   { background: rgba(255,193,7,.15); color: #ffc107; border: 1px solid rgba(255,193,7,.25); }
.badge-info      { background: rgba(41,182,246,.15);color: #29b6f6; border: 1px solid rgba(41,182,246,.25); }
.badge-secondary { background: var(--bg-surface);   color: var(--text-soft); border: 1px solid var(--border); }
.badge-grad      { background: var(--grad); color: #fff; }

/* ============================================================
   ALERTAS
   ============================================================ */
.alert {
  padding: .85rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: .875rem;
  border: 1px solid;
}
.alert-success { background: rgba(0,200,83,.1);  color: #00c853; border-color: rgba(0,200,83,.2); }
.alert-danger  { background: rgba(255,61,87,.1); color: #ff3d57; border-color: rgba(255,61,87,.2); }
.alert-warning { background: rgba(255,193,7,.1); color: #ffc107; border-color: rgba(255,193,7,.2); }
.alert-info    { background: rgba(41,182,246,.1);color: #29b6f6; border-color: rgba(41,182,246,.2); }

/* ============================================================
   TABLAS
   ============================================================ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead th {
  padding: .75rem 1rem;
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
  color: var(--text-soft);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-surface); }

/* ============================================================
   NAVEGACIÓN (DASHBOARD)
   ============================================================ */
.navbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-nav { display: flex; gap: 1.25rem; list-style: none; align-items: center; }
.navbar-nav a { color: var(--text-muted); font-size: .875rem; font-weight: 500; transition: var(--transition); }
.navbar-nav a:hover { color: var(--text); }

/* ============================================================
   SIDEBAR
   ============================================================ */
.layout { display: flex; min-height: calc(100vh - 53px); }

.sidebar {
  width: 230px;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 1.25rem 0;
  flex-shrink: 0;
  position: sticky;
  top: 53px;
  height: calc(100vh - 53px);
  overflow-y: auto;
}
.sidebar-logo {
  padding: .5rem 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .75rem;
}
.sidebar-logo span {
  font-size: .75rem;
  color: var(--text-muted);
  display: block;
  margin-top: .2rem;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.25rem;
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
  border-left: 2px solid transparent;
}
.sidebar-item:hover { color: var(--text); background: var(--bg-surface); }
.sidebar-item.active {
  color: var(--text);
  background: var(--grad-soft);
  border-left-color: #e91e8c;
}
.sidebar-section {
  padding: 1rem 1.25rem .35rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.2);
  font-weight: 700;
}

.main-content { flex: 1; padding: 1.75rem; overflow-x: hidden; min-width: 0; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: .75rem;
}
.page-header h1 { font-size: 1.35rem; font-weight: 800; color: var(--text); }

/* ============================================================
   STATS GRID
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
}
.stat-card .value {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-card .label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .35rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

/* ============================================================
   LOGIN
   ============================================================ */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.login-wrapper::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(233,30,140,.12) 0%, transparent 70%);
  pointer-events: none;
}
.login-wrapper::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,107,0,.1) 0%, transparent 70%);
  pointer-events: none;
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-lg);
}
.login-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.login-brand-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto .75rem;
  padding: 3px;
  background: var(--grad);
}
.login-brand-logo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
}
.login-brand h1 { font-size: 1.1rem; font-weight: 800; }
.login-brand p  { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }

.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.login-tab {
  flex: 1;
  padding: .65rem;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.login-tab.active { color: var(--text); border-bottom-color: #e91e8c; }

/* ============================================================
   CUSTOMER — MOBILE FIRST
   ============================================================ */

/* Barra superior cliente */
.c-topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.c-topbar__back { font-size: 1.3rem; color: var(--text-muted); line-height: 1; }
.c-topbar__title { font-size: .95rem; font-weight: 700; flex: 1; }
.c-topbar__badge {
  background: var(--grad);
  color: #fff;
  border-radius: 50px;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
}

/* Hero del picker */
.picker-hero {
  background: var(--bg-card);
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.picker-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(233,30,140,.1) 0%, transparent 70%);
}
.picker-hero__logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  padding: 2.5px;
  background: var(--grad);
  position: relative;
  z-index: 1;
}
.picker-hero__logo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #000; }
.picker-hero h1 { font-size: 1.3rem; font-weight: 800; position: relative; z-index: 1; }
.picker-hero p  { color: var(--text-muted); font-size: .85rem; margin-top: .25rem; position: relative; z-index: 1; }
.picker-hero__table {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

/* Chips pedidos activos */
.orders-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: .75rem 1rem;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.orders-bar::-webkit-scrollbar { display: none; }
.order-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-soft);
}
.order-chip--active { border-color: rgba(255,193,7,.4); color: #ffc107; }
.order-chip--paid   { border-color: rgba(0,200,83,.4);  color: #00c853; }

/* Grid restaurantes */
.restaurants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .875rem;
  padding: 1rem;
}
@media (min-width: 540px) { .restaurants-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .restaurants-grid { grid-template-columns: repeat(4, 1fr); } }

.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.restaurant-card:hover,
.restaurant-card:active { transform: translateY(-2px); border-color: rgba(233,30,140,.4); }

.restaurant-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.restaurant-card__body { padding: .75rem; flex: 1; }
.restaurant-card__name { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.restaurant-card__desc { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }
.restaurant-card__footer { padding: .6rem .75rem; border-top: 1px solid var(--border); }

/* Menú tabs */
.menu-tabs {
  display: flex;
  gap: .4rem;
  padding: .875rem 1rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: sticky;
  top: 53px;
  z-index: 40;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex-shrink: 0;
  padding: .45rem 1rem;
  border-radius: 50px;
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.menu-tab.active { background: var(--grad); color: #fff; border-color: transparent; }

/* Grid productos */
.menu-section { padding: 1.25rem 1rem; }
.menu-section h2 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (min-width: 540px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .menu-grid { grid-template-columns: repeat(4, 1fr); } }

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.menu-card:hover { border-color: rgba(233,30,140,.3); }

.menu-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--bg-surface);
}
.menu-card__placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
}
.menu-card__body { padding: .75rem; flex: 1; }
.menu-card__name { font-size: .875rem; font-weight: 700; line-height: 1.3; }
.menu-card__desc { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card__footer {
  padding: .65rem .75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.menu-card__price { font-size: 1rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Botón agregar al carrito */
.btn-add {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-grad);
  transition: var(--transition);
}
.btn-add:active { transform: scale(.9); }

/* Carrito flotante */
.cart-float {
  position: fixed;
  bottom: 1.25rem;
  left: 1rem;
  right: 1rem;
  background: var(--grad);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-grad);
  z-index: 200;
  font-weight: 700;
  transition: var(--transition);
  max-width: 480px;
  margin: 0 auto;
}
.cart-float:hover { opacity: .95; transform: translateY(-2px); }
.cart-float__count {
  background: rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .2rem .65rem;
  font-size: .82rem;
}

/* Estado de pedidos */
.order-status-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.order-status-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.order-status-label { font-size: 1.15rem; font-weight: 800; }

/* Toast */
.toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  padding: .6rem 1.25rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  z-index: 300;
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ============================================================
   KITCHEN SCREEN
   ============================================================ */
.kitchen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.kitchen-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--warning);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.kitchen-card--preparing { border-top-color: var(--info); }
.kitchen-card--ready     { border-top-color: var(--success); }

/* ============================================================
   RESPONSIVE — DASHBOARD
   ============================================================ */
@media (max-width: 768px) {
  .sidebar { display: none; }
  .main-content { padding: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-header h1 { font-size: 1.1rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }
