.dashboard_pagina {
  --bg:#0b1220;
  --card:#111b2e;
  --muted:#9bb0d1;
  --text:#e8f0ff;
  --line:#223255;
  --accent:#4da3ff;
  --ok:#31d07f;
  --warn:#ffcc66;
  --bad:#ff6b6b;

  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:linear-gradient(180deg,#071022,#0b1220);
  padding:20px;
  border-radius:16px;
  
  max-width: 100%;
}

.dashboard_cabecera{
  padding:22px 18px;
  border-bottom:1px solid var(--line);
  background:rgba(7,16,34,.75);
  border-radius:16px;
  margin-bottom:16px;
  color:#fff;
}

.row {
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.row h1{
  font-size:18px;
  margin:0;
  color: #cfe2ff;
}

.pill {
  font-size:12px;
  color:#fff;
  background:var(--accent);
  padding:6px 10px;
  border-radius:999px;
  font-weight:700;
}

/* GRID GENERAL */

.dashboard_cuerpo {
  display:grid;
  gap:16px;
}

/* TARJETAS */

.card {
  background:rgba(17,27,46,.9);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.card h2 {
  margin:0 0 14px 0;
  font-size:14px;
  color:#cfe2ff;
}

/* CONTADORES */

.conteoTickets{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}

.statCard {
  background:#0b152b;
  border:1px solid var(--line);
  border-radius:12px;
  padding:16px;
  text-align:center;
}

.statCard h3 {
  font-size:13px;
  margin-bottom:6px;
  color: #cfe2ff;
}

.statCard div{
  font-size:26px;
  font-weight:700;
}

/* GRAFICAS */

.graficosDistribucion{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

@media (max-width:900px){

  .graficosDistribucion{
    grid-template-columns:1fr;
  }

}

/* TABLA */

.table {
  width:100%;
  border-collapse:collapse;
  border-radius:14px;
  border:1px solid var(--line);
}

.table th,
.table td {
  padding:10px;
  border-bottom:1px solid var(--line);
  font-size:13px;
}

.table th {
  font-size:12px;
  color:var(--muted);
  background:#0b152b;
}

/* GRID DASHBOARD PRO */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}