/* ══════════════════════════════════════════════════
   Login page
══════════════════════════════════════════════════ */
.login-page {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--bg); padding: 20px; gap: 28px;
}
.login-brand {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem; font-weight: 300; color: var(--ink);
  display: flex; align-items: center; gap: 9px; letter-spacing: .04em;
}
.login-brand em  { color: var(--gold); font-style: italic; }
.login-brand svg { color: var(--gold); }
.login-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  width: 100%; max-width: 360px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.login-heading {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem; font-weight: 500; color: var(--ink);
}
.login-error {
  color: #9b2c2c; font-size: .82rem;
  background: #fff5f5; border: 1px solid #f5c6c6;
  border-radius: 6px; padding: 8px 12px; margin: 0;
}
.login-submit {
  width: 100%; justify-content: center;
  padding: 12px; font-size: .92rem; margin-top: 2px;
}

/* ── Header logout button ──────────────────────── */
.btn-logout {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 10px;
}
.btn-logout:hover { background: rgba(255,255,255,.16); color: rgba(255,255,255,.9); }

.bottom-nav-btn.logout-btn {
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}

.bottom-nav-btn.logout-btn svg {
  stroke: currentColor;
}

.bottom-nav-btn.logout-btn:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}


/* Mostrar / ocultar contraseña en el login */
.login-pass-wrap { position: relative; }
.login-pass-wrap input { padding-right: 42px; }
.login-pass-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; background: transparent;
  color: var(--muted); cursor: pointer; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.login-pass-toggle:hover { color: var(--ink2); background: var(--bg2); }
