/* ============================================================
   DRIVEPRO AUTOESCUELA — GLOBAL STYLES
   Diseño enfocado en autoescuela: carnet, conducción, seguridad
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700;800&display=swap');

/* ============================================================
   VARIABLES — PALETA DE AUTOESCUELA
   Azul profundo (confianza, seguridad vial) +
   Violeta (tecnología) + Verde (aprobado) + Ámbar (señales)
   ============================================================ */
:root {
  /* Colores de marca */
  --primary:        #5C6BC0;   /* azul-violeta: confianza y tecnología */
  --primary-dark:   #3949AB;
  --primary-light:  #7986CB;
  --secondary:      #FF7043;   /* naranja: señales de tráfico, acción */
  --accent:         #26A69A;   /* verde-azulado: seguridad, éxito */
  --accent2:        #FFA726;   /* ámbar: semáforo, precaución */

  /* Fondos */
  --bg-dark:        #0C0D18;
  --bg-card:        #111220;
  --bg-card2:       #181929;
  --bg-glass:       rgba(255,255,255,0.035);

  /* Bordes */
  --border:         rgba(255,255,255,0.07);
  --border-strong:  rgba(92,107,192,0.35);

  /* Texto */
  --text-primary:   #EEF0FF;
  --text-secondary: #8A8BA8;
  --text-muted:     #525370;

  /* Estado */
  --success:  #43A047;
  --warning:  #FB8C00;
  --danger:   #E53935;
  --info:     #1E88E5;

  /* Semáforo (para el calendario de reservas) */
  --slot-free:    rgba(67, 160, 71, 0.12);
  --slot-free-b:  rgba(67, 160, 71, 0.3);
  --slot-mine:    rgba(92, 107, 192, 0.18);
  --slot-mine-b:  rgba(92, 107, 192, 0.45);
  --slot-taken:   rgba(255,255,255, 0.03);
  --slot-taken-b: rgba(255,255,255, 0.06);

  /* Sombras */
  --shadow-glow:    0 0 40px rgba(92,107,192,0.18);
  --shadow-card:    0 4px 28px rgba(0,0,0,0.45);
  --shadow-navbar:  0 2px 24px rgba(0,0,0,0.5);

  /* Geometría */
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  /* Transición global */
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  /* Sidebar */
  --sidebar-w: 252px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  touch-action: manipulation;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; }
ul { list-style: none; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   TIPOGRAFÍA
   ============================================================ */
.heading-display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  line-height: 1.1;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.badge-primary { background: rgba(92,107,192,0.18); color: var(--primary-light); border: 1px solid rgba(92,107,192,0.35); }
.badge-success { background: rgba(67,160,71,0.14);  color: #66BB6A;             border: 1px solid rgba(67,160,71,0.3); }
.badge-warning { background: rgba(251,140,0,0.14);  color: #FFA726;             border: 1px solid rgba(251,140,0,0.3); }
.badge-danger  { background: rgba(229,57,53,0.14);  color: #EF5350;             border: 1px solid rgba(229,57,53,0.3); }
.badge-accent  { background: rgba(38,166,154,0.14); color: var(--accent);       border: 1px solid rgba(38,166,154,0.3); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 18px rgba(92,107,192,0.4);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92,107,192,0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.07);
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-danger {
  background: rgba(229,57,53,0.13);
  color: #EF5350;
  border: 1px solid rgba(229,57,53,0.28);
}
.btn-danger:hover:not(:disabled) { background: rgba(229,57,53,0.22); }

.btn-success {
  background: rgba(67,160,71,0.13);
  color: #66BB6A;
  border: 1px solid rgba(67,160,71,0.28);
}
.btn-success:hover:not(:disabled) { background: rgba(67,160,71,0.22); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #1D8A7E);
  color: #fff;
  box-shadow: 0 4px 18px rgba(38,166,154,0.3);
}
.btn-accent:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(38,166,154,0.4);
}

.btn-warning {
  background: rgba(251,140,0,0.13);
  color: #FFA726;
  border: 1px solid rgba(251,140,0,0.28);
}
.btn-warning:hover:not(:disabled) { background: rgba(251,140,0,0.22); }

.btn-sm  { padding: 7px 14px; font-size: 12px; border-radius: 7px; }
.btn-lg  { padding: 14px 34px; font-size: 15px; border-radius: var(--radius); }
.btn-icon{ width: 36px; height: 36px; padding: 0; border-radius: 9px; }
.btn-full{ width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.card:hover { border-color: var(--border-strong); }

.card-glow:hover { box-shadow: var(--shadow-glow); }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(92,107,192,0.09);
  box-shadow: 0 0 0 3px rgba(92,107,192,0.14);
}

.form-control::placeholder { color: var(--text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-icon-wrap { position: relative; }
.input-icon-wrap .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 15px;
  pointer-events: none;
}
.input-icon-wrap .form-control { padding-left: 42px; }

/* ============================================================
   NAVBAR — Barra de navegación de autoescuela
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  background: rgba(12,13,24,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(12,13,24,0.97);
  box-shadow: var(--shadow-navbar);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo de la autoescuela */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  flex-shrink: 0;
}

.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.navbar-brand .brand-name { color: var(--text-primary); }
.navbar-brand .brand-tag  { font-size: 11px; font-weight: 500; color: var(--text-muted); margin-left: 2px; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar-nav a {
  padding: 7px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   HERO — Sección principal (autoescuela)
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% -5%, rgba(92,107,192,0.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 35% at 85% 80%, rgba(38,166,154,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(255,112,67,0.06) 0%, transparent 55%);
}

/* Cuadrícula tipo "carretera" en el fondo */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 75%);
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(92,107,192,0.12);
  border: 1px solid rgba(92,107,192,0.25);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Estadísticas del hero */
.hero-stats {
  display: flex;
  gap: 36px;
}

.stat { text-align: center; }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* ============================================================
   SECCIONES
   ============================================================ */
.section { padding: 96px 0; }

/* Sección con fondo alterno (zebra) */
.section-alt {
  background: rgba(255,255,255,0.012);
}

/* ============================================================
   FEATURES / SERVICIOS
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Acento superior al hacer hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 9px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   AUTENTICACIÓN
   ============================================================ */
.auth-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth-left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.auth-left-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 40% 50%, rgba(92,107,192,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(38,166,154,0.1) 0%, transparent 50%);
}

.auth-left-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.auth-left-content {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.auth-left-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.auth-left-content h2 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-left-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.feature-list li .fi {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: rgba(255,255,255,0.01);
  border-left: 1px solid var(--border);
}

.auth-form-container {
  width: 100%;
  max-width: 400px;
}

.auth-tabs {
  display: flex;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
}

.auth-tab {
  flex: 1;
  padding: 9px;
  text-align: center;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(92,107,192,0.4);
}

.auth-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-footer a { color: var(--primary-light); font-weight: 600; }

.password-wrap { position: relative; }

.toggle-password {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 15px;
  padding: 4px;
  transition: var(--transition);
}

.toggle-password:hover { color: var(--text-secondary); }

.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}

.strength-bar {
  height: 3px;
  flex: 1;
  border-radius: 2px;
  background: rgba(255,255,255,0.07);
  transition: var(--transition);
}

/* Demo accounts */
.demo-accounts {
  background: rgba(92,107,192,0.06);
  border: 1px solid rgba(92,107,192,0.15);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 22px;
}

.demo-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-light);
  margin-bottom: 9px;
}

.demo-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  color: var(--text-secondary);
}

.demo-account strong { color: var(--text-primary); }

.demo-btn {
  background: rgba(92,107,192,0.14);
  border: 1px solid rgba(92,107,192,0.28);
  color: var(--primary-light);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.demo-btn:hover { background: rgba(92,107,192,0.24); }

/* ============================================================
   DASHBOARD — Estructura principal
   ============================================================ */
.dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--bg-dark);
}

/* SIDEBAR */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  transition: var(--transition);
}

.sidebar-header {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.sidebar-header .logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.sidebar-nav {
  flex: 1;
  padding: 14px 10px;
  overflow-y: auto;
}

.nav-section { margin-bottom: 20px; }

.nav-section-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  padding: 0 10px;
  margin-bottom: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2px;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nav-item:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

.nav-item.active {
  background: rgba(92,107,192,0.14);
  color: var(--primary-light);
  font-weight: 600;
}

.nav-item .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 15px;
  flex-shrink: 0;
}

.nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 2px 7px;
  font-size: 10px;
  font-weight: 700;
}

.sidebar-footer {
  padding: 14px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  cursor: default;
  transition: var(--transition);
}

.user-profile:hover { background: var(--bg-glass); }

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.user-info { flex: 1; min-width: 0; }

.user-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role { font-size: 11px; color: var(--text-muted); }

/* MAIN CONTENT */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: 30px;
  min-height: 100vh;
}

.page-header { margin-bottom: 28px; }

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 5px;
}

.page-subtitle { color: var(--text-secondary); font-size: 14px; }

/* ============================================================
   STAT CARDS — Tarjetas de estadísticas del dashboard
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stat-card:hover::after { opacity: 1; }

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.stat-card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

/* ============================================================
   TABLA DE DATOS
   ============================================================ */
.table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
  flex-wrap: wrap;
}

.table-title { font-size: 15px; font-weight: 600; }

.table-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 13px;
}

.table-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 13px;
  width: 180px;
}

.table-search input::placeholder { color: var(--text-muted); }

.data-table { width: 100%; border-collapse: collapse; }

.data-table th {
  padding: 11px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.035);
  font-size: 13px;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(255,255,255,0.018); }

.student-name {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  animation: fadeIn 0.18s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 30px;
  animation: slideUp 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: min(92vh, 92dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@keyframes slideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}

.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
}

.modal-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 14px;
}

.modal-close:hover {
  background: rgba(229,57,53,0.14);
  color: #EF5350;
  border-color: rgba(229,57,53,0.28);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
}

.toast-container .toast {
  pointer-events: auto;
}

.toast {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: var(--shadow-card);
  min-width: 280px;
  max-width: 380px;
  animation: toastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastIn {
  from { transform: translateX(90px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.warning { border-left: 3px solid var(--warning); }
.toast.info    { border-left: 3px solid var(--info); }

.toast-icon    { font-size: 17px; flex-shrink: 0; }
.toast-message { flex: 1; font-size: 13px; font-weight: 500; }
.toast-close   { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 14px; flex-shrink: 0; }

/* ============================================================
   PRÓXIMAS CLASES (alumno)
   ============================================================ */
.upcoming-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.upcoming-item:hover { border-color: var(--border-strong); }

.upcoming-date-box {
  text-align: center;
  background: rgba(92,107,192,0.12);
  border: 1px solid rgba(92,107,192,0.2);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 46px;
  flex-shrink: 0;
}

.upcoming-day {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
}

.upcoming-month {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upcoming-info { flex: 1; min-width: 0; }
.upcoming-time { font-weight: 600; font-size: 13px; }
.upcoming-detail { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

/* ============================================================
   RESERVA — Selector de días
   ============================================================ */
.day-selector {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.day-selector::-webkit-scrollbar { display: none; }

.day-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px 13px;
  border-radius: 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  min-width: 52px;
}

.day-pill:hover {
  border-color: var(--primary);
  background: rgba(92,107,192,0.08);
}

.day-pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(92,107,192,0.4);
}

.pill-day-name {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.day-pill.selected .pill-day-name { color: rgba(255,255,255,0.75); }

.pill-day-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.pill-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #66BB6A;
  margin-top: 4px;
}

.pill-dot.mine   { background: var(--primary-light); }
.pill-dot.hidden { opacity: 0; }

/* ============================================================
   SLOTS DE HORA (semáforo vial)
   ============================================================ */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 9px;
}

.slot-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 15px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  background: none;
}

.slot-time   { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; }
.slot-status { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* Verde = libre (semáforo) */
.slot-btn.free {
  background: var(--slot-free);
  border-color: var(--slot-free-b);
}
.slot-btn.free .slot-time   { color: #66BB6A; }
.slot-btn.free .slot-status { color: rgba(102,187,106,0.7); }
.slot-btn.free:hover {
  background: rgba(67,160,71,0.2);
  border-color: #66BB6A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(67,160,71,0.2);
}

/* Azul = mi reserva */
.slot-btn.mine {
  background: var(--slot-mine);
  border-color: var(--slot-mine-b);
  cursor: default;
}
.slot-btn.mine .slot-time   { color: var(--primary-light); }
.slot-btn.mine .slot-status { color: rgba(121,134,203,0.7); }

/* Gris = ocupado (rojo semáforo) */
.slot-btn.taken {
  background: var(--slot-taken);
  border-color: var(--slot-taken-b);
  cursor: not-allowed;
  opacity: 0.45;
}
.slot-btn.taken .slot-time   { color: var(--text-muted); }
.slot-btn.taken .slot-status { color: var(--text-muted); }

/* ============================================================
   PROGRESO (anillo + barra)
   ============================================================ */
.progress-ring-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.progress-ring-container svg { transform: rotate(-90deg); }

.progress-ring-label {
  position: absolute;
  text-align: center;
}

.ring-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.ring-text {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.9s ease;
}

.progress-bar-mini        { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.progress-bar-mini-fill   { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* ============================================================
   ADMIN — HORARIO SEMANAL
   ============================================================ */
.week-schedule { overflow-x: auto; }

.week-table { width: 100%; min-width: 750px; border-collapse: collapse; }

.week-table th {
  padding: 11px 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.week-table th.today-col { color: var(--primary-light); }

.week-table td {
  border: 1px solid rgba(255,255,255,0.035);
  padding: 3px;
  height: 54px;
  vertical-align: top;
}

.week-table td.time-col {
  width: 68px;
  min-width: 68px;
  text-align: right;
  padding: 0 11px 0 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.035);
}

.schedule-booking-chip {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: left;
  gap: 2px;
}

.schedule-booking-chip:hover { transform: scale(1.03); filter: brightness(1.2); }

.chip-name { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip-time { font-size: 10px; opacity: 0.75; }

.free-slot-cell {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: var(--transition);
}

.free-slot-cell:hover {
  background: rgba(67,160,71,0.07);
  color: rgba(67,160,71,0.4);
}

/* Chips del horario — colores por alumno */
.color-0 { background: rgba(92,107,192,0.2);  border-color: rgba(92,107,192,0.4);  color: var(--primary-light); }
.color-1 { background: rgba(38,166,154,0.15); border-color: rgba(38,166,154,0.35); color: var(--accent); }
.color-2 { background: rgba(255,112,67,0.15); border-color: rgba(255,112,67,0.35); color: #FF7043; }
.color-3 { background: rgba(255,167,38,0.15); border-color: rgba(255,167,38,0.35); color: var(--accent2); }
.color-4 { background: rgba(30,136,229,0.15); border-color: rgba(30,136,229,0.35); color: #42A5F5; }

/* ============================================================
   ROLES
   ============================================================ */
.role-badge-admin {
  background: linear-gradient(135deg, rgba(92,107,192,0.2), rgba(38,166,154,0.1));
  border: 1px solid rgba(92,107,192,0.35);
  color: var(--primary-light);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
}

.role-badge-student {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 11px;
  font-weight: 700;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 52px 20px;
}

.empty-state-icon { font-size: 3.5rem; margin-bottom: 14px; opacity: 0.35; }
.empty-state h3   { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.empty-state p    { color: var(--text-secondary); font-size: 13px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.75;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-col ul li { margin-bottom: 9px; }

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 13px;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--primary-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   UTILIDADES DE COLOR
   ============================================================ */
.c-primary { color: var(--primary-light); }
.c-success { color: #66BB6A; }
.c-warning { color: #FFA726; }
.c-danger  { color: #EF5350; }
.c-muted   { color: var(--text-muted); }
.c-accent  { color: var(--accent); }
.c-orange  { color: var(--secondary); }

.bg-primary-soft { background: rgba(92,107,192,0.12); }
.bg-success-soft { background: rgba(67,160,71,0.12); }
.bg-warning-soft { background: rgba(251,140,0,0.12); }
.bg-danger-soft  { background: rgba(229,57,53,0.12); }
.bg-accent-soft  { background: rgba(38,166,154,0.12); }
.bg-orange-soft  { background: rgba(255,112,67,0.12); }

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92,107,192,0.4); }
  50%       { box-shadow: 0 0 0 10px rgba(92,107,192,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spin    { animation: spin 0.9s linear infinite; }
.pulse   { animation: pulse-glow 2.2s infinite; }
.float   { animation: float 6s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE — DASHBOARD
   ============================================================ */

/* Tablet grande (≤ 1100px) */
@media (max-width: 1100px) {
  :root { --sidebar-w: 220px; }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .main-content { padding: 22px 18px; }

  .page-title { font-size: 22px; }

  .form-row { grid-template-columns: 1fr; }

  .auth-split { grid-template-columns: 1fr; }
  .auth-left  { display: none; }
  .auth-right { border-left: none; padding: 32px 24px; }
}

/* Móvil (≤ 768px) — uso principal: alumnos y profesores en el teléfono */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: min(300px, 88vw);
    max-width: 100%;
    z-index: 150;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 8px 0 32px rgba(0,0,0,0.35);
  }

  .sidebar.open { transform: translateX(0); }

  .sidebar-header { padding: 18px 16px; }

  .nav-item {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .nav-item .nav-icon { font-size: 18px; width: 24px; }

  .main-content {
    margin-left: 0;
    padding: calc(56px + env(safe-area-inset-top, 0px)) 16px 28px;
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
  }

  .page-header { margin-bottom: 20px; }

  .page-title {
    font-size: clamp(1.35rem, 5.5vw, 1.65rem);
    line-height: 1.2;
  }

  .page-subtitle { font-size: 14px; line-height: 1.5; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .stat-card { padding: 16px 14px; }
  .stat-card-value { font-size: 1.55rem; }

  .card { padding: 18px 16px; border-radius: 16px; }

  .btn {
    min-height: 48px;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 12px;
  }

  .btn-sm {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 14px;
  }

  .form-control {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }

  .table-search { flex: 1; min-width: 0; }
  .table-search input { width: 100%; min-width: 0; flex: 1; }

  .table-header { padding: 14px 16px; flex-direction: column; align-items: stretch; }

  .data-table th,
  .data-table td { padding: 12px 14px; font-size: 13px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  /* Modal: hoja desde abajo, más cómodo con el pulgar */
  .modal-overlay {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .modal {
    max-width: none;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom, 0px));
    max-height: min(90vh, 90dvh);
    animation: slideUpSheet 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }

  @keyframes slideUpSheet {
    from { transform: translateY(100%); opacity: 0.6; }
    to   { transform: translateY(0); opacity: 1; }
  }

  .modal-title { font-size: 17px; line-height: 1.25; }
  .modal-subtitle { font-size: 14px; }

  .toast-container {
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom, 12px));
    left: 12px;
    right: 12px;
    align-items: stretch;
  }

  .toast {
    min-width: unset;
    max-width: none;
    padding: 14px 16px;
    font-size: 14px;
  }

  .week-table td.time-col { width: 52px; min-width: 52px; font-size: 10px; }

  .mobile-menu-btn {
    top: max(12px, env(safe-area-inset-top, 12px));
    left: max(12px, env(safe-area-inset-left, 12px));
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }
}

/* Móvil pequeño (≤ 480px) */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .stat-card { padding: 14px 12px; }
  .stat-card-icon { width: 36px; height: 36px; font-size: 17px; }
  .stat-card-value { font-size: 1.35rem; }

  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .features-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .table-container { border-radius: var(--radius-sm); }

  .auth-right { padding: 24px 16px; }

  .btn-lg { padding: 14px 24px; font-size: 15px; min-height: 52px; }
}
