html, body { height: 100%; }

body.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;      /* vertical */
  justify-content: center;  /* horizontal */
}
.login-box {
  margin: 0 !important;
  width: 300px;
  flex: 0 0 auto;
}

.neon-card {
  border: 2px solid #00f7ff; /* Borde neón */
  box-shadow: 0 0 10px #00f7ff,
              0 0 20px #00f7ff,
              0 0 40px #00f7ff; /* Glow efecto */
  border-radius: 10px; /* opcional, bordes redondeados */
}

.neon-card .card-header {
  background-color: #111; /* contraste oscuro */
  color: #00f7ff;
  font-weight: bold;
}

.neon-card .card-body {
  background-color: #1a1a1a; /* fondo oscuro para resaltar */
  color: #fff;
}

/* ---- HERO CARD ---- */
.hero-progress {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(92deg, #246bfd 0%, #8a2be2 100%);
  color: #fff;
}
.hero-progress .card-body { padding: 22px; }
.hero-title { font-weight: 800; color: #fff; }
.hero-sub { opacity: .95; margin-bottom: 6px; }
.hero-bar {
  height: 10px;
  background: rgba(255,255,255,.25);
  border-radius: 999px;
}
.hero-bar .progress-bar {
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255,255,255,.6);
}
.label-aux { font-size: 12px; opacity: .85; }
.hero-trophy i { font-size: 28px; color: #ffd44d; }
.text-white-75 { color: rgba(255,255,255,.85)!important; }

/* ---- TÍTULO SECCIÓN ---- */
.section-title {
  font-weight: 800;
  color: #0f172a;
  margin: 18px 0 14px;
}

/* ---- TARJETAS DE LECCIONES ---- */
.lessons-grid .lesson-card {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  padding: 18px;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease;
}
.lessons-grid .lesson-card:hover {
  box-shadow: 0 12px 26px rgba(2,6,23,.08);
  transform: translateY(-2px);
}
.lesson-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.lesson-header .index {
  font-weight: 800;
  color: #475569;
}
.lesson-header .title {
  font-weight: 700;
  color: #111827;
}
.lesson-card .desc {
  color: #6b7280;
  margin-bottom: 10px;
}
.lesson-card .meta {
  color: #64748b;
  font-size: .95rem;
}

/* Estados */
.lesson-card.is-active {
  border-color: #e6eeff;
  box-shadow: 0 6px 18px rgba(23, 92, 255, .06);
}
.lesson-card.is-locked {
  color: #94a3b8;
  background: #fafbff;
}
.lesson-card.is-locked .title,
.lesson-card.is-locked .desc,
.lesson-card.is-locked .meta { color: #a1a7b5; }

.play-ico { color: #2563eb; font-size: 18px; }
.lock-ico { color: #c7ccd7; font-size: 16px; }

/* CTA Buttons */
.btn-cta { border-radius: 10px; font-weight: 600; }
.btn-cta.btn-light { background: #eef2f7; border: 1px solid #e5eaf1; color: #9aa3af; }

/* Responsive tweaks */
@media (max-width: 575.98px) {
  .hero-progress .card-body { padding: 16px; }
  .hero-title { font-size: 1.25rem; }
}

/* Hero naranja→magenta (reusa estructura hero-progress) */
.hero-orange {
  background: linear-gradient(92deg, #f97316 0%, #ec4899 100%);
}

/* Chapita de icono con mini gradiente y borde suave */
.exercise-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fda23a 0%, #f472b6 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(244,114,182,.25);
  border: 1px solid rgba(255,255,255,.35);
}
.exercise-badge i {
  font-size: 18px;
}

/* Botón con gradiente naranja→magenta */
.btn-gradient {
  background: linear-gradient(90deg, #f97316 0%, #ec4899 100%);
  border: none;
  color: #fff !important;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(236,72,153,.22);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-gradient:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(236,72,153,.28);
  opacity: .98;
}
.btn-gradient:active {
  transform: translateY(0);
}

/* Ajustes sutiles para que las tarjetas queden como en la imagen */
.lesson-card { padding-top: 16px; padding-bottom: 16px; }
.lesson-card .title { color: #0f172a; font-weight: 700; }
.lesson-card .desc  { color: #6b7280; }

/* ---- Tarjeta de clase en vivo ---- */
.live-card {
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(2,6,23,.06);
}
.live-card-body { padding: 18px 20px; }
.live-title { color:#0f172a; font-weight: 800; }

.meta-row i { opacity:.9; }

/* Pill de estado (verde suave) */
.status-pill {
  display:inline-block;
  padding: .35rem .6rem;
  font-size: .85rem;
  border-radius: 999px;
  background: #d1fae5;
  color: #059669;
  font-weight: 700;
}

/* Botón Unirse */
.btn-join {
  display:inline-flex; align-items:center;
  background:#2563eb; color:#fff !important;
  border-radius:10px; padding:.55rem .9rem;
  font-weight:700; border:0;
  box-shadow:0 8px 18px rgba(37,99,235,.25);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-join:hover { transform: translateY(-1px); box-shadow:0 12px 26px rgba(37,99,235,.30); }

/* Barra de ocupación */
.capacity-bar {
  height: 8px;
  background: #eef2f7;
  border-radius: 999px;
}
.capacity-bar .progress-bar{
  background: #2563eb;
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(37,99,235,.35);
}

.main-sidebar {
  width: 220px;
}

.nav-sidebar .nav-link {
  color: #333;
  font-weight: 500;
  border-radius: 8px;
  margin: 4px 8px;
  transition: all 0.2s ease;
}

.nav-sidebar .nav-link:hover {
  background-color: #f0f4ff;
  color: #0056d6;
}

.nav-sidebar .nav-link.active {
  background-color: #e8f0ff;
  border: 2px solid #0056d6;
  color: #0056d6;
  font-weight: 600;
}
