/* ═══════════════════════════════════════
   FITCOACH — ESTILOS GLOBALES
════════════════════════════════════════ */

:root {
  --primary: #6C63FF;
  --primary-dark: #5A52D5;
  --primary-light: #EEF0FF;
  --accent: #FF6584;
  --teal: #00BFA5;
  --teal-light: #E0F7F4;
  --amber: #FFB300;
  --amber-light: #FFF8E1;
  --red: #EF5350;
  --red-light: #FFEBEE;
  --green: #43A047;
  --green-light: #E8F5E9;

  --bg: #F4F4F8;
  --surface: #FFFFFF;
  --surface2: #F0F0F5;
  --border: rgba(0,0,0,0.08);
  --text: #1A1A2E;
  --text2: #5A5A7A;
  --text3: #9A9AB0;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);

  --nav-h: 64px;
  --header-h: 56px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12121E;
    --surface: #1E1E30;
    --surface2: #2A2A40;
    --border: rgba(255,255,255,0.08);
    --text: #F0F0FF;
    --text2: #A0A0C0;
    --text3: #6060A0;
    --primary-light: #2A2860;
    --teal-light: #0D2E2A;
    --amber-light: #2E2000;
    --red-light: #2E0A0A;
    --green-light: #0A2010;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  background: var(--bg);
  color: var(--text);
  overscroll-behavior: none;
}

/* ─── SCREENS ─── */
.screen { display: none; height: 100dvh; overflow: hidden; }
.screen.active { display: flex; flex-direction: column; }
.hidden { display: none !important; }

/* ─── LOGIN ─── */
.login-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: linear-gradient(160deg, #6C63FF 0%, #3F3896 100%);
  min-height: 100dvh;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
  color: white;
}

.logo-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; color: white;
  margin: 0 auto 16px;
  backdrop-filter: blur(4px);
}

.login-logo h1 { font-size: 32px; font-weight: 700; letter-spacing: -0.5px; }
.login-logo p { font-size: 14px; opacity: 0.8; margin-top: 4px; }

.login-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%; max-width: 400px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.login-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.login-tab {
  flex: 1; padding: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500;
  color: var(--text2);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.login-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.login-form { padding: 24px; }

/* ─── HEADER ─── */
.app-header {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  flex-shrink: 0;
  z-index: 10;
}

.header-left {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600; color: var(--text);
}

.logo-sm {
  width: 32px; height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 16px;
}

/* ─── MAIN ─── */
.app-main {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px calc(var(--nav-h) + 16px);
  -webkit-overflow-scrolling: touch;
}

/* ─── PAGES ─── */
.apage, .ppage { display: none; }
.apage.active, .ppage.active { display: block; }

/* ─── BOTTOM NAV ─── */
.bottom-nav {
  height: var(--nav-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  flex-shrink: 0;
  padding-bottom: env(safe-area-inset-bottom);
  position: relative; z-index: 10;
}

.nav-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 8px 4px;
  background: none; border: none; cursor: pointer;
  color: var(--text3); font-size: 10px; font-weight: 500;
  transition: color 0.15s;
}

.nav-btn i { font-size: 22px; }
.nav-btn.active { color: var(--primary); }

/* ─── FORMS ─── */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text2); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-group small { display: block; font-size: 11px; color: var(--text3); margin-top: 4px; }

input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input[type="url"], select, textarea {
  width: 100%; padding: 11px 14px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 15px; color: var(--text);
  font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  -webkit-appearance: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108,99,255,0.12);
}

textarea { resize: vertical; min-height: 80px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-row .form-group { margin-bottom: 0; }
@media(max-width:340px) { .form-row { grid-template-columns: 1fr; } }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 20px;
  background: var(--primary); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:active { background: var(--primary-dark); transform: scale(0.98); }
.btn-primary.btn-full { width: 100%; }
.btn-primary.btn-sm { padding: 8px 14px; font-size: 13px; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 16px;
  background: none; color: var(--primary);
  border: 1.5px solid var(--primary); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; cursor: pointer;
  transition: background 0.15s;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-outline.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: none; color: var(--text2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; cursor: pointer;
}

.btn-danger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  background: var(--red-light); color: var(--red);
  border: none; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; cursor: pointer;
}

.icon-btn {
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.icon-btn:hover { background: var(--surface2); }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
}

.action-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.1s;
}
.action-card:active { transform: scale(0.99); box-shadow: none; }

/* ─── HOME ─── */
.home-greeting {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 16px;
}

.home-greeting h2 { font-size: 22px; font-weight: 700; }
.home-greeting .muted { font-size: 13px; margin-top: 3px; }

.streak-badge {
  background: var(--amber-light);
  color: var(--amber);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 4px;
}

.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.stat-card .sval { font-size: 20px; font-weight: 700; color: var(--primary); }
.stat-card .slabel { font-size: 11px; color: var(--text3); margin-top: 2px; }

/* ─── BADGES ─── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.badge-purple { background: var(--primary-light); color: var(--primary); }
.badge-teal { background: var(--teal-light); color: var(--teal); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-red { background: var(--red-light); color: var(--red); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-gray { background: var(--surface2); color: var(--text2); }

/* ─── LABELS ─── */
.section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text3);
  margin: 16px 0 8px;
}

.page-title { font-size: 22px; font-weight: 700; margin-bottom: 14px; }

.page-header-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.page-header-row .page-title { margin-bottom: 0; }

.muted { color: var(--text2); }

/* ─── WEEK STRIP ─── */
.week-strip {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px;
  margin-bottom: 12px; scrollbar-width: none;
}
.week-strip::-webkit-scrollbar { display: none; }

.day-pill {
  min-width: 48px;
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 8px;
  border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; flex-shrink: 0; transition: all 0.15s;
}

.day-pill .day-name { font-size: 10px; font-weight: 600; color: var(--text3); text-transform: uppercase; }
.day-pill .day-num { font-size: 16px; font-weight: 700; color: var(--text); }
.day-pill.active { background: var(--primary); border-color: var(--primary); }
.day-pill.active .day-name, .day-pill.active .day-num { color: white; }
.day-pill.rest { background: var(--teal-light); border-color: var(--teal-light); }
.day-pill.rest .day-name, .day-pill.rest .day-num { color: var(--teal); }

/* ─── EXERCISE ROW ─── */
.exercise-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.exercise-row:last-child { border-bottom: none; }

.ex-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 20px;
}

.ex-info { flex: 1; }
.ex-name { font-size: 14px; font-weight: 600; color: var(--text); }
.ex-detail { font-size: 12px; color: var(--text2); margin-top: 2px; }
.ex-sets { font-size: 13px; font-weight: 700; color: var(--primary); flex-shrink: 0; }

/* ─── MACRO ROW ─── */
.macro-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-bottom: 14px;
}

.macro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  text-align: center;
}
.macro-card .mval { font-size: 18px; font-weight: 700; }
.macro-card .mlabel { font-size: 10px; color: var(--text3); margin-top: 2px; }
.macro-card.kcal .mval { color: var(--primary); }
.macro-card.prot .mval { color: #EF5350; }
.macro-card.carb .mval { color: var(--amber); }
.macro-card.gras .mval { color: var(--teal); }

/* ─── FOOD ROW ─── */
.food-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.food-row:last-child { border-bottom: none; }
.food-name { color: var(--text); }
.food-kcal { font-weight: 600; color: var(--primary); flex-shrink: 0; margin-left: 8px; }
.food-qty { font-size: 12px; color: var(--text3); }

/* ─── COMIDA SECTION ─── */
.comida-section { margin-bottom: 12px; }
.comida-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.comida-title { font-size: 13px; font-weight: 700; color: var(--text2); }
.comida-kcal { font-size: 12px; color: var(--text3); }

/* ─── STUDENT ROW ─── */
.student-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.student-row:last-child { border-bottom: none; }

.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}

.student-info { flex: 1; }
.student-name { font-size: 14px; font-weight: 600; color: var(--text); }
.student-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* ─── NOTICES ─── */
.notice-card {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 8px;
}
.notice-card .ntitle { font-size: 13px; font-weight: 600; color: var(--primary); }
.notice-card .nmsg { font-size: 13px; color: var(--text); margin-top: 4px; }
.notice-card .ndate { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ─── PROGRESS ─── */
.progress-section { margin-bottom: 16px; }

.eval-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.eval-header {
  display: flex; justify-content: space-between;
  margin-bottom: 12px;
}

.eval-date { font-size: 13px; font-weight: 600; color: var(--text); }

.eval-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.eval-stat {
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}
.eval-stat .esval { font-size: 16px; font-weight: 700; color: var(--text); }
.eval-stat .eslabel { font-size: 10px; color: var(--text3); margin-top: 2px; }
.eval-stat .esdelta { font-size: 11px; font-weight: 600; margin-top: 3px; }
.esdelta.down { color: var(--green); }
.esdelta.up { color: var(--red); }
.esdelta.up-good { color: var(--primary); }

/* ─── SEARCH BAR ─── */
.search-bar {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.search-bar i { color: var(--text3); font-size: 18px; flex-shrink: 0; }
.search-bar input { border: none; background: none; flex: 1; font-size: 14px; color: var(--text); outline: none; padding: 0; }

/* ─── FILTER CHIPS ─── */
.filter-chips {
  display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px;
  margin-bottom: 10px; scrollbar-width: none;
}
.filter-chips::-webkit-scrollbar { display: none; }

.chip {
  padding: 5px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--text2);
  cursor: pointer; flex-shrink: 0; white-space: nowrap;
  transition: all 0.15s;
}
.chip.active { background: var(--primary); border-color: var(--primary); color: white; }

/* ─── BIBLIOTECA EXERCISE ─── */
.bib-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.bib-card:hover { box-shadow: var(--shadow-md); }

.bib-header { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.bib-icon {
  width: 36px; height: 36px;
  background: var(--primary-light); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 18px; flex-shrink: 0;
}
.bib-name { font-size: 14px; font-weight: 600; color: var(--text); }
.bib-desc { font-size: 12px; color: var(--text2); margin-top: 4px; line-height: 1.5; }

/* ─── RUTINA BUILDER ─── */
.rutina-ej-item {
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.rutina-ej-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.rutina-ej-name { font-size: 13px; font-weight: 600; flex: 1; }
.rutina-ej-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 6px; }
.rutina-ej-inputs input { font-size: 13px; padding: 7px 8px; text-align: center; }
.rutina-ej-inputs label { font-size: 10px; }

/* ─── COMIDA BUILDER ─── */
.comida-builder {
  background: var(--surface2);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
}
.comida-builder-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.alimento-row-builder { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.alimento-row-builder input:first-child { flex: 1; }
.alimento-row-builder input:last-child { width: 70px; }

/* ─── MODALS ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: 100;
  padding: 0;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%; max-width: 480px;
  max-height: 90dvh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-header h3 { font-size: 17px; font-weight: 700; }

.modal-body {
  flex: 1; overflow-y: auto;
  padding: 20px;
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* ─── TOAST ─── */
.toast {
  position: fixed; bottom: calc(var(--nav-h) + 12px); left: 50%;
  transform: translateX(-50%);
  background: #1A1A2E; color: white;
  padding: 10px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  z-index: 200;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(10px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ─── ERROR MSG ─── */
.error-msg { font-size: 13px; color: var(--red); margin-top: 10px; text-align: center; min-height: 18px; }

/* ─── EMPTY STATE ─── */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text3);
}
.empty-state i { font-size: 48px; display: block; margin-bottom: 12px; }
.empty-state p { font-size: 14px; }

/* ─── AVISO ROW ─── */
.aviso-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.aviso-row:last-child { border-bottom: none; }
.aviso-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.aviso-info { flex: 1; }
.aviso-msg { font-size: 13px; color: var(--text); line-height: 1.5; }
.aviso-meta { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* ─── PROGRESS CHART ─── */
.chart-wrap {
  position: relative; height: 120px;
  margin: 10px 0;
}

.mini-chart {
  display: flex; align-items: flex-end;
  gap: 4px; height: 100%;
}

.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.chart-bar-outer { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.chart-bar-inner { width: 100%; border-radius: 3px 3px 0 0; background: var(--primary-light); transition: height 0.4s ease; }
.chart-bar-inner.current { background: var(--primary); }
.chart-xlabel { font-size: 9px; color: var(--text3); }

/* ─── NOTE CARD ─── */
.note-card {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px; color: var(--text);
  line-height: 1.5;
}
.note-card .note-label { font-size: 11px; font-weight: 700; color: var(--amber); margin-bottom: 4px; text-transform: uppercase; }

/* ─── LOADER ─── */
.loader {
  display: flex; align-items: center; justify-content: center;
  padding: 40px; color: var(--text3);
  font-size: 14px; gap: 10px;
}

.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

/* ─── RUTINA DETAIL MODAL OPENER ─── */
.bib-detail-modal {
  background: var(--surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: 100%; max-width: 480px;
  max-height: 80dvh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* ─── PLAN ASSIGN QUICK ACTIONS ─── */
.quick-actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 12px;
}

.quick-action {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: center;
}
.quick-action:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.quick-action i { font-size: 24px; color: var(--primary); }
.quick-action span { font-size: 12px; font-weight: 600; color: var(--text2); }

/* Fix navegación profe */
#screen-profe .ppage { display: none !important; }
#screen-profe .ppage.active { display: block !important; }

/* Fix navegación alumno */
#screen-alumno .apage { display: none !important; }
#screen-alumno .apage.active { display: block !important; }

/* Logo SVG styles */
.login-logo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 24px rgba(108,92,231,0.4));
}

.logo-sm-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(108,92,231,0.3));
}

.login-logo h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #B8ACFF 0%, #ffffff 50%, #A89ED0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.login-logo p {
  font-size: 13px;
  opacity: 0.75;
  letter-spacing: 0.5px;
}
