/* ==========================================================
   ECONOMÍA CUÁNTICA TOROIDAL · TESLA 7.0
   BASE PROFESIONAL LIMPIA
========================================================== */

/* ===============================
   VARIABLES
=============================== */
:root {
  --bg-main: #05070b;
  --bg-header: #02040a;

  --color-text: #e6eef9;
  --color-muted: #9aa4b2;

  --color-activacion: #00eaff;
  --color-abundancia: #ffd700;
  --color-inactivo: #ff4d5a;

  --radius: 14px;
}

/* ===============================
   RESET
=============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #000;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #0a1220, var(--bg-main));
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

/* ===============================
   HEADER
=============================== */
.site-header {
  background: var(--bg-header);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo proporcional real */
.brand img {
  height: 36px;
  width: auto;
  display: block;
}

/* Menú */
.main-nav {
  display: flex;
  gap: 16px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-activacion);
  transition: opacity .2s ease;
}

.main-nav a:hover {
  opacity: .75;
}

.main-nav .nav-cta {
  color: var(--color-abundancia);
}

.main-nav .nav-salir {
  color: var(--color-inactivo);
}

/* ===============================
   CONTENIDO GENERAL
=============================== */
..site-wrapper {
  min-height: 100%;
}
.block {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===============================
   HERO GLOBAL
=============================== */
.hero {
  padding: 120px 20px 80px;
  text-align: center;
}

@media (max-width: 768px) {

  .hero {
    padding: 60px 16px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

}

.hero h1 {
  font-size: 44px;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-muted);
}

.hero-note,
.hero-micro {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ===============================
   VIDEO UNIFICADO
=============================== */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 40px auto;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===============================
   OBSERVADOR
=============================== */
#observador,
#modelo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cards observador */
.observer-cards {
  display: grid;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .observer-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.observer-card {
  background: rgba(255,255,255,0.03);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.observer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,234,255,0.4);
  box-shadow: 0 0 24px rgba(0,234,255,0.15);
}

/* ===============================
   BOTONES
=============================== */
.btn {
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, #00eaff, #0099cc);
  color: #001018;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(0,234,255,.6);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
}

/* ===============================
   MODELO
=============================== */
#modelo h2 {
  margin-bottom: 24px;
  color: var(--color-activacion);
}

#modelo p {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.7;
  color: var(--color-muted);
}

.decision {
  padding: 100px 24px;
  text-align: center;
}

.decision-cards {
  display: grid;
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .decision-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.decision-card {
  display: block;
  padding: 36px;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.decision-card.secondary {
  background: rgba(255,255,255,0.03);
  color: #cfd6e4;
}

.decision-card.secondary:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
}

.decision-card.primary {
  background: linear-gradient(135deg, #00e0ff, #3b82f6);
  color: #000;
}

.decision-card.primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,224,255,0.25);
}

/* ===============================
   FOOTER
=============================== */
footer {
  text-align: center;
  padding: 30px;
  font-size: 13px;
  color: var(--color-muted);
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {

  .brand img {
    height: 26px;
  }

  .main-nav {
    gap: 12px;
  }

  .hero {
    padding: 80px 16px 40px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-text {
    font-size: 15px;
  }

}
/* ===============================
   FORZAR ALTURA COMPLETA
=============================== */

html, body {
  height: 100%;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-wrapper > main {
  flex: 1;
  display: block;
}

#onboarding {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* ===============================
   ESTRUCTURA FULL HEIGHT REAL
=============================== */

html, body {
  height: 100%;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* ===============================
   ONBOARDING · TESLA 7.0 PRO
=============================== */

#onboarding {
  flex: 1;
  background: radial-gradient(circle at 30% 20%, #0a1220, #05070b 70%);
}

.hero-onboarding {
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===============================
   AUTH PAGES · FIX DEFINITIVO
=============================== */

/* =====================================================
   AUTH PAGES · TESLA 7.0 · PRODUCCIÓN
===================================================== */

.auth-page {
  min-height: calc(100vh - 160px); /* compensa header + footer */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px;
}

/* CARD */
.auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 50px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0,150,255,0.15);
  transition: 0.3s ease;
}

.auth-card:hover {
  box-shadow: 0 0 80px rgba(0,150,255,0.25);
}

/* TÍTULO */
.auth-card h2 {
  font-size: 26px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00eaff, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* TEXTO */
.auth-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ALERTAS */
.alert {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}

.alert.error {
  background: rgba(255, 0, 70, 0.15);
  border: 1px solid rgba(255, 0, 70, 0.3);
  color: #ff4d6d;
}

.alert.success {
  background: rgba(0, 255, 170, 0.12);
  border: 1px solid rgba(0, 255, 170, 0.3);
  color: #00ffaa;
}

/* LABEL */
.auth-card label {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-bottom: 8px;
  color: #94a3b8;
}

/* INPUT */
.auth-card input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.auth-card input:focus {
  border-color: #00eaff;
  box-shadow: 0 0 18px rgba(0,234,255,0.35);
}

/* BOTÓN */
.auth-card button {
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #00eaff, #0072ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.auth-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0,234,255,0.4);
}

/* LINK */
.auth-back {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}

.auth-back:hover {
  color: #00eaff;
}

/* Título */
.auth-card h2 {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00eaff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Texto */
.auth-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

/* Alertas */
.alert {
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}

.alert.error {
  background: rgba(255, 0, 70, 0.15);
  border: 1px solid rgba(255, 0, 70, 0.3);
  color: #ff4d6d;
}

.alert.success {
  background: rgba(0, 255, 170, 0.12);
  border: 1px solid rgba(0, 255, 170, 0.3);
  color: #00ffaa;
}

/* Label */
.auth-card label {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-bottom: 8px;
  color: #94a3b8;
}

/* Input */
.auth-card input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
}

.auth-card input:focus {
  border-color: #00eaff;
  box-shadow: 0 0 18px rgba(0,234,255,0.35);
}

/* Botón */
.auth-card button {
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #00eaff, #0072ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.auth-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0,234,255,0.4);
}

/* Link */
.auth-card a {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
}

.auth-card a:hover {
  color: #00eaff;
}
/* ==========================================================
   AUTH PAGES · TESLA 7.0
========================================================== */

.auth-page {
  min-height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 50px 45px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0,150,255,0.15);
  transition: 0.4s ease;
}

.auth-card h2 {
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #00eaff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-card p {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 30px;
}

.auth-card label {
  display: block;
  text-align: left;
  font-size: 13px;
  margin-bottom: 8px;
  color: #94a3b8;
}

.auth-card input {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.auth-card input:focus {
  border-color: #00eaff;
  box-shadow: 0 0 18px rgba(0,234,255,0.35);
}

.auth-card button {
  margin-top: 22px;
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #00eaff, #0072ff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.auth-card a {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
}

.auth-card a:hover {
  color: #00eaff;
}

/* ==================================================
   HEADER TESLA 7.0 · LIMPIO
================================================== */

.app-header {
  background: #02040a;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.app-header .header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* BRAND */
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

.brand-mark .mark {
  font-size: 18px;
  color: #00eaff;
}

.brand-mark .name {
  font-size: 16px;
}

.subtitle {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  transition: 0.25s ease;
}

.nav a:hover {
  color: #00eaff;
}

/* BOTÓN ACCEDER */
.btn-acceder {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617 !important;
}

.btn-acceder:hover {
  filter: brightness(1.1);
}

/* =========================================================
   FOOTER · TESLA 7.0 · PRODUCCIÓN LIMPIA
========================================================= */

.site-footer {
  background: linear-gradient(180deg, #05070d, #000);
  border-top: 1px solid rgba(0,234,255,0.15);
  padding: 2.5rem 1.5rem 1.2rem;
  color: #d1d5db;
  font-size: 0.85rem;
}

/* CONTENEDOR */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* RESET */
.site-footer p,
.site-footer ul,
.site-footer li {
  margin: 0;
  padding: 0;
}

/* TÍTULOS */
.footer-col h4 {
  font-size: 0.85rem;
  color: #00eaff;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

/* LISTAS */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  text-decoration: none;
  font-size: 0.82rem;
  color: #d1d5db;
  transition: 0.25s ease;
}

.footer-col a:hover {
  color: #00eaff;
}

/* IDENTIDAD */
.brand-col {
  max-width: 280px;
}

.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 0.8rem;
  display: block;
}

.footer-tagline {
  font-size: 0.82rem;
  opacity: 0.9;
  line-height: 1.5;
}

.footer-note {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0.6rem;
  line-height: 1.5;
}

/* CTA */
.footer-cta p {
  font-size: 0.82rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.footer-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(0,234,255,0.45);
  color: #00eaff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: 0.25s ease;
}

.footer-btn:hover {
  background: rgba(0,234,255,0.12);
  box-shadow: 0 0 12px rgba(0,234,255,0.35);
}

/* LÍNEA INFERIOR */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .footer-inner {
    text-align: center;
  }

  .brand-col {
    margin: 0 auto;
  }

  .footer-logo {
    margin: 0 auto 0.8rem;
  }
}

.site-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* ===== FOOTER TESLA 7.0 ===== */

.footer-tesla {
    background: #050b14;
    padding: 80px 40px 30px 40px;
    color: #a8b3c7;
    font-family: 'Poppins', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 220px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-note {
    margin-top: 15px;
    opacity: 0.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a8b3c7;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}

/* ===============================
   DASHBOARD · BASE LIMPIA
================================ */

.dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  gap: 24px;
}

/* ===============================
   TARJETAS BASE
================================ */

.tesla-card {
  background: linear-gradient(135deg, #0b1220, #020617);
  border-radius: 18px;
  padding: 24px;
  color: #e5e7eb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* ===============================
   TÍTULOS
================================ */

.tesla-card h2,
.tesla-card h3 {
  color: #22c55e;
  margin-bottom: 12px;
}

.tesla-card p {
  color: #cbd5f5;
  line-height: 1.5;
}

/* ===============================
   ESTADO SISTEMA
================================ */

.estado-detenido {
  border-left: 6px solid #ef4444;
}

.estado-activo {
  border-left: 6px solid #22c55e;
}

.estado-detenido .estado-label {
  color: #ef4444;
  font-weight: 600;
}

.estado-activo .estado-label {
  color: #22c55e;
  font-weight: 600;
}

/* ===============================
   LISTAS DE BLOQUEO
================================ */

.lista-bloqueos {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bloqueo-item {
  background: rgba(255,255,255,0.04);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #cbd5f5;
}

/* ===============================
   BOTONES
================================ */

.btn-principal {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn-secundario {
  background: rgba(255,255,255,0.08);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.btn-principal:hover,
.btn-secundario:hover {
  transform: translateY(-1px);
}

/* ===============================
   PROGRESO
================================ */

.progreso-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.progreso-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #38bdf8);
}

/* ===============================
   UTILIDADES
================================ */

.text-muted {
  color: #94a3b8;
}

.text-warning {
  color: #f59e0b;
}

.text-success {
  color: #22c55e;
}

/* ======================================================
   TESLA CARD · BASE ÚNICA DEL DASHBOARD
====================================================== */

.tesla-card {
  background: linear-gradient(135deg, #0b1220, #020617);
  border-radius: 18px;
  padding: 24px;
  color: #e5e7eb;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
  margin-bottom: 32px;
  position: relative;
}

/* ===============================
   ESTADOS DEL SISTEMA
================================ */

.tesla-card.estado-detenido {
  border-left: 6px solid #ef4444;
}

.tesla-card.estado-espera {
  border-left: 6px solid #f59e0b;
}

.tesla-card.estado-activo {
  border-left: 6px solid #22c55e;
}


/* ===============================
   TIPOGRAFÍA
================================ */

.tesla-card h2,
.tesla-card h3 {
  color: #22c55e;
  margin-bottom: 12px;
  font-weight: 600;
}

.tesla-card p {
  color: #cbd5f5;
  line-height: 1.6;
  margin-bottom: 8px;
}

/* ===============================
   LISTAS DE INFORMACIÓN
================================ */

.lista-info {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lista-info .item {
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #cbd5f5;
}

/* ===============================
   BOTONES
================================ */

.btn-principal {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-secundario {
  background: rgba(255,255,255,0.08);
  color: #e5e7eb;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}

.btn-principal:hover,
.btn-secundario:hover {
  opacity: 0.9;
}

.familia-toroidal {
  margin: 24px 0;
}

.familia-titulo {
  color: #22c55e;
  margin-bottom: 16px;
  font-weight: 600;
}

.familia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.familia-item {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.familia-item strong {
  display: block;
  font-size: 14px;
}

.familia-item span {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0;
}

.familia-item small {
  font-size: 12px;
  opacity: 0.7;
}

.familia-item.activo {
  border-color: #22c55e;
  color: #22c55e;
}

.familia-item.pendiente {
  border-color: #f59e0b;
  color: #f59e0b;
}

.familia-nota {
  margin-top: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.toroide-wrapper {
  margin-top: 32px;
  min-height: 600px;
}


/* =========================================
   ACADEMIA · NETFLIX STYLE
========================================= */

.academia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.curso-card {
  background: linear-gradient(135deg, #020617, #0b1220);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,0.08);
}

.curso-header h3 {
  color: #22c55e;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.curso-body {
  flex: 1;
}

.badge {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-ok {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.badge-progreso {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}

.curso-footer {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

/* ==============================
   FIX TEXTO ACADEMIA · VISIBILIDAD
   ============================== */

.academia-grid,
.academia-grid * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    mix-blend-mode: normal !important;
    opacity: 1 !important;
}

.tesla-card {
    position: relative;
    background: radial-gradient(circle at top, #0b1c2d, #020814);
    color: #ffffff;
}

.curso-card h3,
.curso-card h4,
.curso-card p,
.curso-card a {
    color: #ffffff !important;
}


/* ===============================
   TABLAS · HISTÓRICO DONACIONES
=============================== */
.tesla-table,
.tesla-table th,
.tesla-table td {
  color: #e5e7eb !important; /* texto claro */
}

.tesla-table th {
  color: #93c5fd !important; /* encabezados */
  font-weight: 600;
}

.tesla-table tr {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tesla-table a {
  color: #22c55e;
  font-weight: 600;
}
/* =====================================================
   TABLAS · HISTÓRICO DONACIONES
===================================================== */

.tesla-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.tesla-table th,
.tesla-table td {
  padding: 14px 12px;
  text-align: left;
  color: #e5e7eb;
}

.tesla-table th {
  color: #93c5fd;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.tesla-table tr {
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease;
}

.tesla-table tr:hover {
  background: rgba(255,255,255,.03);
}

.tesla-table a {
  color: #22c55e;
  font-weight: 600;
  text-decoration: none;
}

.tesla-table a:hover {
  text-decoration: underline;
}


/* =====================================================
   TESLA 7 · BOTONES ACCESO ACADEMIA / MARKETPLACE
===================================================== */

.item-acceso {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(145deg, #020617, #0f172a);
  padding: 20px 24px;
  border-radius: 20px;
  margin-bottom: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6);
  border: 1px solid rgba(34,197,94,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}

.item-acceso:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 65px rgba(0,0,0,.75);
}

.item-label {
  font-size: 15px;
  color: #e5e7eb;
}

.btn-tesla-acceso {
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #020617;
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 0 25px rgba(34,197,94,.6);
  transition: all .25s ease;
  white-space: nowrap;
}

.btn-tesla-acceso:hover {
  box-shadow: 0 0 45px rgba(34,197,94,.9);
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* =====================================================
   DASHBOARD · LAYOUT PRO
===================================================== */

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.kpi-card {
  background: linear-gradient(135deg, #0b1220, #020617);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.kpi-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.kpi-ok { color: #22c55e; }
.kpi-wait { color: #f59e0b; }

/* GRID SUPERIOR */

.dashboard-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* Responsive */

@media (max-width: 1100px) {
  .dashboard-grid-2 {
    grid-template-columns: 1fr;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dashboard-kpis {
    grid-template-columns: 1fr;
  }
}
/* ==================================================
   FIX LOGO HEADER · TESLA 7.0
================================================== */

.site-header .brand img {
  height: 38px !important;
  width: auto !important;
  max-height: 38px;
  display: block;
}
/* ==================================================
   FIX LOGO DEFINITIVO · HEADER
================================================== */

.site-header .brand {
  display: flex;
  align-items: center;
  height: 60px;
}

.site-header .brand img {
  height: 40px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain;
}

.site-header .brand img {
  height: 40px !important;
  width: auto !important;
  max-height: 40px !important;
  object-fit: contain;
}
/* ============================================================
   DASHBOARD SUB-NAV · TESLA 7.0
============================================================ */

.menu-principal {
  background: linear-gradient(180deg, #030712, #020617);
  border-bottom: 1px solid rgba(0,234,255,0.15);
  backdrop-filter: blur(12px);
}

.menu-contenido {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  gap: 28px;
  align-items: center;
}

/* ITEMS */

.menu-item {
  position: relative;
  color: #9aa4b2;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
  transition: all .25s ease;
}

.menu-item:hover {
  color: #00eaff;
}

/* ACTIVO */

.menu-item.activo {
  color: #22c55e;
}

.menu-item.activo::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #22c55e;
  border-radius: 2px;
}

/* SALIR */

.menu-item.menu-salir {
  margin-left: auto;
  color: #ff4d5a;
}

.menu-item.menu-salir:hover {
  color: #ff6b6b;
}

/* MOBILE */

#menu-toggle {
  display: none;
}

.menu-hamburguesa {
  display: none;
}

@media (max-width: 900px) {

  .menu-hamburguesa {
    display: block;
    padding: 12px 32px;
    font-size: 22px;
    cursor: pointer;
    color: #cbd5f5;
  }

  .menu-contenido {
    display: none;
    flex-direction: column;
    padding: 0;
  }

  #menu-toggle:checked + .menu-hamburguesa + .menu-contenido {
    display: flex;
  }

  .menu-item {
    padding: 14px 32px;
    width: 100%;
  }

  .menu-item.menu-salir {
    margin-left: 0;
  }
}

/* =========================
   MODELO · BASE
========================= */

#modelo {
  background: linear-gradient(180deg, #0a0f1f 0%, #0f1a33 100%);
  color: #ffffff;
  padding-top: 120px;
  padding-bottom: 120px;
}

/* =========================
   BLOQUES GENERALES
========================= */

.block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

.block h2 {
  font-size: 34px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.block p {
  font-size: 18px;
  line-height: 1.7;
  color: #cfd6f6;
  max-width: 700px;
}

/* =========================
   HERO
========================= */

.hero-modelo {
  text-align: center;
}

.hero-modelo h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
}

.hero-text {
  font-size: 20px;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #dce2ff;
}

.hero-note {
  font-size: 14px;
  opacity: 0.7;
  display: block;
  margin-top: 10px;
}

/* =========================
   VIDEO
========================= */

.video-wrapper {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.video-wrapper iframe {
  width: 100%;
  height: 500px;
  display: block;
}

/* =========================
   DIAGRAMA
========================= */

.diagrama {
  text-align: center;
}

.diagrama-texto {
  margin: 0 auto 40px auto;
  max-width: 750px;
}

/* =========================
   NOTAS
========================= */

.nota {
  margin-top: 30px;
  font-size: 16px;
  opacity: 0.8;
}

/* =========================
   TOROIDE VISUAL
========================= */

.toroide-familias {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 60px auto;
}

.anillo {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anillo-1 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #1e2a4d, #0a1229);
  top: 150px;
  left: 150px;
  box-shadow: 0 0 40px rgba(79, 120, 255, 0.5);
}

.anillo-2 {
  width: 250px;
  height: 250px;
  border: 2px solid rgba(79, 120, 255, 0.4);
  top: 75px;
  left: 75px;
}

.anillo-3 {
  width: 400px;
  height: 400px;
  border: 2px solid rgba(79, 120, 255, 0.2);
  top: 0;
  left: 0;
}

.nucleo {
  font-weight: bold;
  font-size: 18px;
}

.punto {
  font-size: 14px;
  margin: 8px;
  opacity: 0.7;
}

/* =========================
   DECISIÓN
========================= */

.decision {
  text-align: center;
}

.decision-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.decision-card {
  padding: 30px;
  border-radius: 16px;
  width: 260px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.decision-card.primary {
  background: linear-gradient(135deg, #4f78ff, #2c46b3);
  color: white;
}

.decision-card.secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.decision-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .hero-modelo h1 {
    font-size: 32px;
  }

  .video-wrapper iframe {
    height: 280px;
  }

  .toroide-familias {
    transform: scale(0.8);
  }
}

/* ===== RESET GLOBAL CONTROLADO ===== */
body {
    margin: 0;
    background: radial-gradient(circle at 30% 20%, #071425 0%, #030812 60%);
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

/* Wrapper general */
.site-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}
.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.auth-box {
    width: 100%;
    max-width: 520px;
    background: rgba(10, 20, 40, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.08);
}
.auth-box button {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg,#00e5ff,#00bcd4);
    color: #000;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.auth-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,255,255,0.25);
}
.kpi-panel{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:40px;
}

.kpi-card{
    background:linear-gradient(145deg,#051a2e,#03101d);
    border:1px solid rgba(0,255,255,0.15);
    border-radius:18px;
    padding:20px;
    color:#00eaff;
    box-shadow:0 0 20px rgba(0,255,255,0.08);
}

.kpi-label{
    font-size:14px;
    opacity:.6;
}

.kpi-value{
    font-size:22px;
    font-weight:bold;
    margin-top:8px;
}

.kpi-sub{
    font-size:13px;
    margin-top:6px;
    opacity:.8;
}

/* ===== SOPORTE WHATSAPP ===== */
.footer-support-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(34,197,94,0.4);
}

/* =========================
   SOPORTE FOOTER TESLA
========================= */

.footer-support {
  display: inline-block;
  margin-top: 1.2rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #020617;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(34,197,94,0.4);
}
/* ======================================
   LOGIN WRAPPER
====================================== */

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at top, #0f1c2b, #06090d);
}

.login-box {
  background: rgba(13,15,18,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .3s ease, box-shadow .3s ease;
}

.login-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.6);
}
/* ======================================
   GRID LOGIN + REGISTRO
====================================== */

.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* ======================================
   CAJA FORMULARIO
====================================== */

.login-box {
  background: #0D0F12;
  padding: 36px;
  border-radius: 16px;
  border: 1px solid rgba(0,234,255,.25);
  width: 100%;
  box-sizing: border-box;
}

/* ======================================
   INPUTS
====================================== */

input,
select {
  width: 100%;
  box-sizing: border-box; /* 🔥 clave para que no se corten */
}

/* ======================================
   MOBILE TABLET
====================================== */

@media (max-width: 900px) {
  .login-wrapper {
    align-items: flex-start;
    padding-top: 60px;
  }

  .login-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ======================================
   MOBILE PEQUEÑO
====================================== */

@media (max-width: 480px) {

  .login-wrapper {
    padding: 30px 16px;
  }

  .login-box {
    padding: 22px;
  }

  .login-title {
    font-size: 22px;
  }

  input {
    font-size: 16px; /* evita zoom automático iPhone */
  }

}

/* Evita scroll lateral */
body {
  overflow-x: hidden;
}

/* =========================================
   RESET GLOBAL MOBILE FIX
========================================= */

html, body {
  height: auto !important;
  min-height: 100% !important;
}

body {
  overflow-x: hidden;
}

/* Evita cualquier contenedor que corte */
.site-wrapper,
.login-wrapper,
main {
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
}

/* Quita cualquier centrado vertical */
.login-wrapper {
  display: block !important;
  padding: 30px 16px 60px 16px !important;
}

/* Grid limpio */
.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .login-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

}

.card-369 {
    border: 1px solid #00d4ff;
    background: linear-gradient(135deg,#0f172a,#1e293b);
}

.btn-turbo {
    background: linear-gradient(90deg,#00d4ff,#0ea5e9);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
}

.btn-confirmar {
    background: #16a34a;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 10px;
}

.btn-ejecutar {
    background: #f97316;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    margin-top: 10px;
}

.alert-mini {
    font-size: 13px;
    opacity: 0.8;
}

.credito-info {
    font-size: 14px;
    margin-top: 10px;
}

.convocatoria-box {
    border: 1px solid #334155;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* ===============================
   🔔 Toast 369 Tesla Style
=============================== */

.toast-369 {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #00e0ff, #00ffa3);
    color: #001c2b;
    padding: 16px 22px;
    border-radius: 14px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 255, 200, 0.35);
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    animation: toastFadeIn 0.4s ease forwards;
}

@keyframes toastFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-369.fade-out {
    animation: toastFadeOut 0.5s ease forwards;
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.toast-error {
    background: linear-gradient(135deg, #ff4d4d, #ff0000);
    color: white;
}

.toast-warning {
    background: linear-gradient(135deg, #ffb300, #ff8800);
    color: #1a1a1a;
}

.btn-secundario {
  background: rgba(34, 197, 94, 0.08); /* verde muy sutil */
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #22c55e;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secundario:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  
  .nivel {
  border: 1px dashed rgba(56,189,248,.15);
}

.nivel-5 { width:460px; height:460px; }

.toroide {
  width:500px;
  height:500px;
}

.neuro-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 520px;
  margin: 40px auto 10px auto;
}

#neuroCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at center, #052e1f 0%, #020617 70%);
  box-shadow: 0 0 40px rgba(34,197,94,0.15);
}
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.legal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.legal p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

body {
  background: radial-gradient(
    circle at 50% -10%,
    #0a0f1f 0%,
    #06080f 40%,
    #03040a 100%
  );
}
.legal h1 {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.legal .lead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.legal h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.legal p {
  line-height: 1.75;
  color: #444;
  margin-bottom: 1rem;
}

/* =====================================================
   🎯 CONTENEDOR GENERAL
===================================================== */

.dashboard {
    padding: 20px;
}

/* =====================================================
   🔝 KPI SUPERIOR
===================================================== */

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

/* =====================================================
   📊 KPI GRID INFERIOR
===================================================== */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

/* =====================================================
   🧱 TARJETAS BASE
===================================================== */

.kpi-card {
    background: linear-gradient(145deg, #1f2333, #161925);
    border-radius: 16px;
    padding: 18px 20px;
    transition: all 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.03);
}

/* Hover elegante */
.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

/* =====================================================
   🔝 KPI SUPERIOR (centrado)
===================================================== */

.dashboard-kpis .kpi-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 95px;
}

.dashboard-kpis .kpi-label {
    font-size: 13px;
    opacity: 0.65;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.dashboard-kpis .kpi-value {
    font-size: 24px;
    font-weight: 600;
}

/* =====================================================
   📊 KPI REGISTRADOS (horizontal con icono)
===================================================== */

.kpi-grid .kpi-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 85px;
}

.kpi-icon {
    font-size: 28px;
}

.kpi-grid .kpi-label {
    font-size: 13px;
    opacity: 0.7;
}

.kpi-grid .kpi-value {
    font-size: 21px;
    font-weight: 600;
}

/* =====================================================
   🎨 COLORES ESTADO
===================================================== */

.text-success,
.kpi-ok {
    color: #00e676;
}

.text-warning,
.kpi-wait {
    color: #ffb300;
}

.text-danger {
    color: #ff5252;
}

/* =====================================================
   📱 RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
    .dashboard-kpis,
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dashboard-kpis,
    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

.nodo-circle {
    background: #22c55e;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}