@font-face {
  font-family: 'Bravura';
  src: url('../assets/Bravura.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-bg-app:        #E8EEF4;
  --color-bg-staff:      #F4F7FA;
  --color-accent:        #2E86C1;
  --color-text-primary:  #1A4A7A;
  --color-text-secondary:#5A7A9A;
  --color-border:        #D0DCE8;
  --color-sidebar:       #D8E4EE;
  --color-nav:           #D0DCE8;
  --color-dot-inactive:  #C8D8E8;
  --color-note-default:  #1A2A3A;
  --color-note-active:   #2E86C1;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow-y: scroll;
}

body {
  background: var(--color-bg-app);
  color: var(--color-text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  display: flex;
  flex-direction: column;
}

main {
  min-height: calc(100vh - 60px);
  /* En `body` flex-column de alto fijo, evita que `main` se encoja bajo su
     contenido: así una sección alta (ej. Teoría) no desborda y el footer
     queda siempre al fondo, después del contenido. */
  flex-shrink: 0;
}

/* HEADER */
.app-header {
  background: #F4F7FA;
  border-bottom: 1px solid #D0DCE8;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hamburger-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #1A4A7A;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.hamburger-btn:hover {
  background: #E8EEF4;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #1A4A7A;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 11px;
  color: #5A7A9A;
  letter-spacing: 0.04em;
}

/* Secciones */
.seccion { display: none; }
/* No usar .seccion.activa — el JS maneja display directamente */

/* Navegación de ritmo */
.ritmo-nav {
  padding: 10px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nivel-row {
  display: flex;
  gap: 6px;
}

.nivel-btn {
  flex: 1;
  height: 32px;
  border-radius: 20px;
  border: 1.5px solid #D0DCE8;
  background: white;
  color: #5A7A9A;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s;
}

.nivel-btn:hover { background: #E8EEF4; color: #1A4A7A; }
.nivel-btn.activo { background: #2E86C1; color: white; border-color: #2E86C1; }

.subnivel-row {
  display: flex;
  gap: 6px;
}

.subnivel-btn {
  flex: 1;
  height: 26px;
  border-radius: 6px;
  border: 1.5px solid #C8E0F4;
  background: #EEF6FF;
  color: #2E86C1;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.subnivel-btn:hover { background: #D8EDFF; }
.subnivel-btn.activo { background: #2E86C1; color: white; border-color: #2E86C1; }
.subnivel-btn.premium { letter-spacing: -0.3px; }

/* ─── Escalas: botones de subsección uniformes ─── */
.escala-nav-btn {
  flex: 1;
  height: 32px;
  border-radius: 20px;
  border: 1.5px solid #D0DCE8;
  background: white;
  color: #5A7A9A;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.escala-nav-btn:hover:not(:disabled) { background: #E8EEF4; color: #1A4A7A; }
.escala-nav-btn.activo { background: #2E86C1; color: white; border-color: #2E86C1; }
.escala-nav-btn:disabled { opacity: 0.3; cursor: default; }

/* Subsecciones de Escalas */
.escala-subseccion { display: none; }
.escala-subseccion.activa { display: block; }

/* ─── LAYOUT CENTRADO ─── */
.staff-container {
  padding: 0 16px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.ex-titulo {
  font-size: 12px;
  color: #5A7A9A;
  margin-bottom: 8px;
  text-align: center;
}

.ex-titulo span { font-weight: 500; color: #1A4A7A; }

.staff-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border: 0.5px solid #D0DCE8;
  border-radius: 8px;
  padding: 12px 16px;
}

#pentagrama { display: block; width: 100%; }

/* ─── CONTROLES RITMO ─── */
.ritmo-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.controls-fila-1 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.controls-fila-2 {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.controls-fila-3 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 400px;
}

.ctrl-label {
  font-size: 11px;
  color: #5A7A9A;
  white-space: nowrap;
}

/* Tempo buttons */
.tempo-btns { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.tempo-btn {
  height: 30px; min-width: 36px; padding: 0 8px;
  border-radius: 6px; border: 1.5px solid #D0DCE8;
  background: white; color: #1A4A7A; font-size: 12px;
  cursor: pointer; font-weight: 500;
}
.tempo-btn:hover { background: #E8EEF4; }
.tempo-btn.activo { background: #2E86C1; color: white; border-color: #2E86C1; }

/* Nav ejercicios buttons */
.nav-ej-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #D0DCE8;
  background: white;
  color: #1A4A7A;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.nav-ej-btn:hover { background: #E8EEF4; }
.nav-ej-btn:disabled { opacity: 0.4; cursor: default; }

/* Play button */
.play-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #2E86C1; border: none; color: white;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* Rep control */
.rep-control {
  display: flex; align-items: center;
  border: 1.5px solid #D0DCE8; border-radius: 8px; overflow: hidden;
  height: 32px;
}
.rep-btn {
  width: 28px; height: 32px; border: none;
  background: #F4F7FA; color: #1A4A7A;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rep-btn:hover { background: #E8EEF4; }
.rep-btn:disabled { opacity: 0.4; cursor: default; }
.rep-num {
  width: 32px; text-align: center; font-size: 13px;
  font-weight: 500; color: #1A4A7A;
  border-left: 1px solid #D0DCE8; border-right: 1px solid #D0DCE8;
}
.rep-label { font-size: 11px; color: #5A7A9A; }

/* Sound buttons */
.sound-btn {
  height: 32px; padding: 0 12px; border-radius: 8px;
  border: 1.5px solid #D0DCE8; background: white;
  color: #5A7A9A; font-size: 12px; cursor: pointer;
  display: flex; align-items: center; gap: 5px;
}
.sound-btn.activo { background: #2E86C1; color: white; border-color: #2E86C1; }

.divider-v { width: 1px; height: 28px; background: #D0DCE8; margin: 0 4px; }

/* Volumen */
.vol-row { display: flex; align-items: center; gap: 8px; }
.vol-icon { color: #5A7A9A; font-size: 14px; }
.vol-label { font-size: 11px; color: #5A7A9A; width: 44px; }
.vol-slider { flex: 1; accent-color: #2E86C1; }

/* Lista de ejercicios — horizontal debajo */
.ejercicios-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.ex-chip {
  height: 32px; padding: 0 12px;
  border-radius: 20px; border: 1.5px solid #D0DCE8;
  background: white; color: #1A4A7A;
  font-size: 12px; cursor: pointer;
  display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.ex-chip:hover { background: #E8EEF4; }
.ex-chip.activo { background: #2E86C1; color: white; border-color: #2E86C1; }

/* RESPONSIVE */
@media (max-width: 480px) {
  .main-layout { flex-direction: column; padding: 10px; gap: 8px; }

  .subnivel-nav { width: 100%; flex-direction: row; margin-right: 0; padding: 6px; gap: 6px; align-self: auto; }
  .subnivel-btn { flex: 1; padding: 6px 4px; }

  .sidebar { width: 100%; margin-left: 0; align-self: auto; max-height: 180px; }
  .ejercicio-lista { flex-direction: row; flex-wrap: wrap; }
  .ejercicio-lista li { flex: 0 0 auto; }

  .header { flex-direction: column; gap: 8px; align-items: flex-start; padding: 10px 14px; }
  .header-left { width: 100%; }
  .level-tabs  { width: 100%; }
  .tab { flex: 1; padding: 5px 8px; text-align: center; }

  #bpm-slider { width: 80px; }
  .staff-container { max-width: 100%; }
}

/* ─── MENÚ HAMBURGUESA ─── */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.menu-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background: #F4F7FA;
  border-right: 1px solid #D0DCE8;
  z-index: 101;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
}

.side-menu.open {
  transform: translateX(0);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #D0DCE8;
}

.menu-brand {
  font-size: 18px;
  font-weight: 600;
  color: #1A4A7A;
}

.menu-header button {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #5A7A9A;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.menu-header button:hover { background: #E8EEF4; }

.menu-section { padding: 6px 0; }

.menu-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5A7A9A;
  padding: 8px 16px 4px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 0 8px;
  border-radius: 8px;
  font-size: 14px;
  color: #1A4A7A;
  cursor: pointer;
  transition: background 0.15s;
}

.menu-item:hover:not(.menu-item-soon) { background: #E8EEF4; }

.menu-item i { font-size: 16px; color: #5A7A9A; }

.menu-item-activo {
  background: #2E86C1;
  color: white;
}

.menu-item-activo i { color: white; }

.menu-item-soon {
  opacity: 0.5;
  cursor: default;
}

.menu-divider {
  height: 1px;
  background: #D0DCE8;
  margin: 4px 16px;
}

.badge-soon {
  margin-left: auto;
  font-size: 9px;
  background: #E8EEF4;
  color: #5A7A9A;
  padding: 2px 6px;
  border-radius: 10px;
}

/* Ocultar niveles cuando estamos en Escalas */
.menu-section.hidden { display: none; }

/* Submenú de niveles eliminado en v16 */

/* ─── MODALES ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  background: #F4F7FA;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  border: 1px solid #D0DCE8;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #D0DCE8;
}

.modal-title {
  font-size: 14px;
  font-weight: 600;
  color: #1A4A7A;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-title i { color: #2E86C1; }

.modal-header button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: #5A7A9A;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-header button:hover { background: #E8EEF4; }

.modal-body { padding: 16px; }

.modal-intro {
  font-size: 13px;
  color: #5A7A9A;
  line-height: 1.6;
  margin-bottom: 16px;
}

.how-to-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.how-to-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2E86C1;
  color: white;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 13px;
  font-weight: 600;
  color: #1A4A7A;
  margin-bottom: 3px;
}

.step-desc {
  font-size: 12px;
  color: #5A7A9A;
  line-height: 1.5;
}

.how-to-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  background: #E8EEF4;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #5A7A9A;
  line-height: 1.5;
}

.how-to-tip i {
  color: #2E86C1;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Inputs de email (los usan leads/footer, Contacto y login) */
.email-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.email-input {
  flex: 1;
  height: 38px;
  border: 1.5px solid #D0DCE8;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 13px;
  background: white;
  color: #1A4A7A;
  outline: none;
}

.email-input:focus { border-color: #2E86C1; }

.email-submit {
  height: 38px;
  padding: 0 14px;
  background: #2E86C1;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.email-submit:hover { background: #1A6A9A; }

/* ─── SELECTOR DE ESCALA ─── */
/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {

  /* Header */
  .brand-name { font-size: 16px; }
  .brand-tagline { font-size: 10px; }

  /* Pentagrama ocupa todo el ancho */
  .staff-container { padding: 0 8px; }

  /* Nivel tabs compactos */
  .nivel-btn { font-size: 11px; }
  .subnivel-btn { font-size: 10px; }

  /* Controles en columna */
  .ritmo-controls { padding: 8px; }
  .controls-fila-1 { gap: 6px; }
  .controls-fila-2 { gap: 4px; }

  /* Tempo — puede ir en 2 filas */
  .tempo-btns { gap: 4px; }
  .tempo-btn { min-width: 32px; height: 28px; font-size: 11px; }

  /* Volúmenes */
  .controls-fila-3 { max-width: 100%; }

  /* Ejercicios */
  .ejercicios-lista { padding: 8px; gap: 5px; }
  .ex-chip { height: 28px; padding: 0 10px; font-size: 11px; }
}

@media (max-width: 480px) {
  .nivel-btn { font-size: 10px; height: 28px; }
  .subnivel-btn { font-size: 9px; height: 22px; }
  .tempo-btn { min-width: 28px; height: 26px; font-size: 10px; padding: 0 4px; }
  .ex-chip { height: 26px; font-size: 10px; padding: 0 8px; }
}

/* ── SECCIÓN TEORÍA ────────────────────────────────────────────────────────── */
.teoria-intro {
  padding: 12px 20px 4px;
  max-width: 680px;
  margin: 0 auto;
  font-size: 13px;
  color: #1A2A3A;
  line-height: 1.55;
}
.teoria-intro strong { color: #1A4A7A; }

.teoria-lista {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px 28px;
  max-width: 700px;
  margin: 0 auto;
}

.teoria-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.65);
  border: 0.5px solid #D8E4EE;
  border-radius: 8px;
  padding: 6px 10px 6px 12px;
}

.teoria-titulo {
  min-width: 148px;
  max-width: 148px;
  font-size: 12px;
  font-weight: 600;
  color: #1A4A7A;
  line-height: 1.25;
}

.teoria-staff-wrap {
  flex: 1;
  min-width: 0;
  max-width: 357px;
}

.teoria-svg {
  display: block;
  width: 100%;
  /* height fijado por el viewBox proporcional — no fijar height explícito */
}

.teoria-play-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #2E86C1;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: background 0.15s;
}
.teoria-play-btn:hover  { background: #1A6A9A; }
.teoria-play-btn:active { background: #145880; }

@media (max-width: 520px) {
  .teoria-titulo { min-width: 100px; max-width: 100px; font-size: 11px; }
  .teoria-row { padding: 5px 8px; gap: 6px; }
  .teoria-play-btn { width: 30px; height: 30px; font-size: 13px; }
}

/* ── Estado de sesión en el header ───────────────────────────────────────────── */
.auth-status {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  min-width: 40px;
}
.auth-email {
  font-size: 12px;
  color: var(--color-text-secondary);
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-btn {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1.5px solid var(--color-accent);
  border-radius: 8px;
  background: white;
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.auth-btn:hover { background: var(--color-accent); color: white; }

/* ── Footer / captura de leads ───────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-staff);
  padding: 20px 16px;
}
.leads-box {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.leads-intro {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}
.leads-msg {
  font-size: 12px;
  margin-top: 8px;
  min-height: 16px;
  display: none;
}
.leads-msg.visible { display: block; }
.leads-msg.error   { color: #C0392B; }
.leads-msg.success { color: #1E8449; }
.leads-msg.info    { color: var(--color-text-secondary); }

/* ── Sección Contacto ────────────────────────────────────────────────────────── */
.contacto-box {
  max-width: 480px;
  margin: 24px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contacto-titulo {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.contacto-intro {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 4px;
}
.contacto-textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
  background: white;
  color: var(--color-text-primary);
  resize: vertical;
  min-height: 90px;
}
.contacto-textarea:focus { border-color: var(--color-accent); outline: none; }
.contacto-box .email-submit { align-self: flex-start; }

/* ── Página de login ─────────────────────────────────────────────────────────── */
.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  min-height: 100vh;
}
.login-card {
  width: 100%;
  max-width: 360px;
  background: var(--color-bg-staff);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 24px;
}
.login-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 20px;
}
.login-back {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-text-secondary);
  font-size: 18px;
  text-decoration: none;
}
.login-back:hover { color: var(--color-accent); }
.login-google {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  background: white;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.login-google:hover { background: #E8EEF4; }
.login-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 11px;
  margin: 16px 0;
}
.login-divider::before, .login-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--color-border);
}
.login-divider span { padding: 0 10px; }
.login-field { width: 100%; margin-bottom: 10px; }
.login-actions { display: flex; gap: 8px; margin-top: 4px; }
.login-btn-primary { flex: 1; justify-content: center; }
.login-btn-secondary {
  flex: 1;
  height: 38px;
  border: 1.5px solid var(--color-accent);
  border-radius: 8px;
  background: white;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s;
}
.login-btn-secondary:hover { background: var(--color-accent); color: white; }
.login-msg {
  font-size: 12px;
  margin-top: 14px;
  min-height: 16px;
  text-align: center;
  display: none;
}
.login-msg.visible { display: block; }
.login-msg.error   { color: #C0392B; }
.login-msg.success { color: #1E8449; }
.login-msg.info    { color: var(--color-text-secondary); }

/* Aviso "contenido premium" cuando se llega al login por el gate */
.login-aviso {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EEF6FF;
  border: 1.5px solid #C8E0F4;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--color-text-primary);
}
.login-aviso i { color: var(--color-accent); flex-shrink: 0; }
.login-aviso a { color: var(--color-accent); font-weight: 500; }

/* "¿Olvidaste tu contraseña?" + mini-bloque de recuperación */
.login-olvidaste {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-top: 12px;
}
.login-olvidaste:hover { color: var(--color-accent); text-decoration: underline; }
.reset-block {
  margin-top: 10px;
  padding: 12px;
  background: #EEF6FF;
  border: 1.5px solid #C8E0F4;
  border-radius: 8px;
  text-align: center;
}
.reset-block-intro {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}
.reset-block-btn { width: 100%; }

/* Página reset.html */
.reset-intro {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 14px;
}

/* Modal premium (Caso B) */
.premium-avisame { width: 100%; justify-content: center; }
.premium-avisame:disabled { opacity: 0.75; cursor: default; }

/* Toast de error de carga del premium */
.premium-toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(92vw, 420px);
  background: #1A4A7A;
  color: white;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.premium-toast i { color: #F5B041; flex-shrink: 0; }
.premium-toast-btn {
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  color: white;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.premium-toast-btn:hover { background: rgba(255,255,255,0.15); }
