:root{
  /* Paleta clara basada en tu logo */
  --bg:#ffffff;
  --surface:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:#e5e7eb;

  --accent-g:#a9cf3a;    /* verde duplátano */
  --accent-y:#dbe442;    /* amarillo plátano */
  --accent:#79c739;

  --radius:16px;
  --gap:16px;
  --shadow:0 8px 24px rgba(16,24,40,.06);
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
}

/* ---------- Auth (login/registro) ---------- */
.auth{display:grid;place-items:center;padding:24px}
.auth__card{
  width:100%;max-width:460px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:32px 28px;
}
.brand{display:flex;justify-content:center;margin-bottom:18px}
.brand__logo{height:180px;object-fit:contain}

.alert{
  background:#fffbe6;border:1px solid #fde68a;color:#92400e;
  padding:12px 14px;border-radius:12px;margin-bottom:16px
}
.alert--ok{ background:#f0fdf4;border:1px solid #bbf7d0;color:#065f46 }

.form{display:grid;gap:var(--gap)}
.field{display:grid;gap:8px}
.field span{font-size:13px;color:var(--muted)}
.field input{
  background:#fff;border:1px solid var(--border);border-radius:12px;
  padding:12px;color:var(--text);outline:none;
  transition:border-color .15s, box-shadow .15s;
}
.field input:focus{
  border-color:var(--accent-g);
  box-shadow:0 0 0 3px rgba(169,207,58,.25);
}

.btn{
  appearance:none;border:0;
  background:linear-gradient(90deg,var(--accent-y),var(--accent-g));
  color:#0b1f0a;font-weight:700;
  padding:12px 14px;border-radius:12px;cursor:pointer;
  transition:filter .15s, transform .02s;
}
.btn:hover{filter:brightness(1.04)}
.btn:active{transform:translateY(1px)}

.muted{color:var(--muted);font-size:14px}
a,.link{color:var(--accent);text-decoration:none}
a:hover,.link:hover{text-decoration:underline}

.auth__footer{display:flex;align-items:center;gap:8px;justify-content:center;margin-top:22px}
.footer__logo{height:150px;opacity:.95}

/* ---------- Topbar (claro) ---------- */
.topbar{background:#fff;border-bottom:1px solid var(--border)}
.topbar .left{opacity:.9}
.topbar .right .link{margin-left:14px}

/* ---------- Dashboard (claro) ---------- */
.k-card{border:1px solid var(--border); border-radius:12px}
.k-card .k-label{font-size:12px;color:var(--muted)}
.k-card .k-value{font-size:24px;font-weight:800;margin-top:6px}

.card{border:1px solid var(--border); border-radius:12px}
.card .card-header{border-bottom:1px solid var(--border)}

.placeholder .col-8{height:18px; display:inline-block; background:#f3f4f6;border-radius:6px}

@media (max-width:520px){ .auth__card{padding:24px} }

/* KPIs + tarjetas (tema claro) */
.k-card{border:1px solid var(--border); border-radius:12px}
.k-card .k-label{font-size:12px;color:var(--muted)}
.k-card .k-value{font-size:24px;font-weight:800;margin-top:6px}
.card{border:1px solid var(--border); border-radius:12px}
.card .card-header{border-bottom:1px solid var(--border)}

