/* ── FAQ ─────────────────────────────── */
.faq-list {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 20px;
  margin: 18px 0 0 0;
  color: var(--text);
  font-size: 1.01rem;
}
.faq-list h4 {
  color: var(--cyan);
  margin-top: 0;
  margin-bottom: 10px;
}
.faq-list ol, .faq-list ul {
  margin-left: 18px;
  margin-bottom: 12px;
}
.faq-list li {
  margin-bottom: 12px;
  line-height: 1.6;
}
.faq-list a {
  color: var(--cyan);
  text-decoration: underline;
}
.faq-list a:hover {
  color: var(--blue);
}
/* ==============================================
   REOK · Panel Administración de Clínica
   Tema: ION Software — oscuro, tecnológico
   ============================================== */
:root {
  --bg-primary:   #070b16;
  --bg-secondary: #0c1220;
  --bg-card:      #0f1828;
  --bg-hover:     #141f35;
  --border:       rgba(0,210,255,0.10);
  --border-hover: rgba(0,210,255,0.28);
  --cyan:         #00d2ff;
  --blue:         #3b82f6;
  --purple:       #8b5cf6;
  --green:        #22c55e;
  --yellow:       #eab308;
  --red:          #f87171;
  --text:         #f0f6ff;
  --muted:        #94a3b8;
  --dim:          #4e6280;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius:       12px;
  --transition:   all 0.25s cubic-bezier(0.4,0,0.2,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; font-family:var(--font-body); }

html { scroll-behavior:smooth; }
body { background:var(--bg-primary); color:var(--text); min-height:100vh; -webkit-font-smoothing:antialiased; }

/* ── Layout ──────────────────────────── */
.layout { max-width:1200px; margin:0 auto; padding:24px 16px; }

/* ── Card ────────────────────────────── */
.card {
  background:var(--bg-card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:0 4px 24px rgba(0,0,0,.4);
  padding:20px;
  margin-bottom:16px;
  transition:var(--transition);
}
.card:hover { border-color:var(--border-hover); }

/* ── Author / Beta badge ─────────────── */
.author-badge {
  border:1px solid rgba(0,210,255,.2);
  background:rgba(0,210,255,.05);
  border-radius:10px;
  padding:10px 12px;
  margin:12px 0;
}
.author-badge p { margin:6px 0; font-size:.88rem; color:var(--muted); }
.author-badge a, .author-footer a { color:var(--cyan); font-weight:600; text-decoration:none; }
.author-badge a:hover, .author-footer a:hover { text-decoration:underline; }
.author-footer { border-top:1px solid var(--border); margin-top:20px; padding-top:12px; }
.author-footer p { margin:0; font-size:.88rem; color:var(--muted); }

/* ── Login ───────────────────────────── */
.login-card { max-width:420px; margin:80px auto; }
.brand { text-align:center; margin-bottom:24px; }
.brand h1 { margin:8px 0 4px; font-size:1.6rem; font-family:var(--font-display); color:var(--cyan); font-weight:700; }
.brand-icon { font-size:2.5rem; }

/* ── Form ────────────────────────────── */
.hidden { display:none !important; }

.login-help { margin-top:10px; }
.link-button { background:transparent; color:var(--cyan); padding:0; border:none; text-decoration:underline; font-weight:600; cursor:pointer; font-size:.9rem; }
.link-button:hover { color:var(--blue); }

.recovery-form { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); }
.recovery-actions { display:flex; gap:8px; flex-wrap:wrap; }

label { display:grid; gap:6px; margin-bottom:8px; font-size:.88rem; font-weight:600; color:var(--muted); }

input, select {
  background:var(--bg-secondary);
  border:1px solid var(--border);
  border-radius:8px;
  padding:10px 12px;
  color:var(--text);
  font-family:var(--font-body);
  font-size:.95rem;
  transition:var(--transition);
  width:100%;
}
input:focus, select:focus { outline:none; border-color:var(--cyan); box-shadow:0 0 0 3px rgba(0,210,255,.1); }
input::placeholder { color:var(--dim); }

/* No aplicar estilo de campo de texto a checkboxes/radios */
input[type="checkbox"],
input[type="radio"] {
  width:auto;
  min-width:auto;
  padding:0;
  border:none;
  background:transparent;
  box-shadow:none;
  accent-color:var(--cyan);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline:none;
  box-shadow:none;
}

button {
  background:linear-gradient(135deg,var(--cyan) 0%,var(--blue) 100%);
  color:#000;
  border:none;
  border-radius:8px;
  padding:10px 18px;
  font-size:.92rem;
  font-weight:600;
  cursor:pointer;
  transition:var(--transition);
  font-family:var(--font-body);
}
button:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(0,210,255,.3); }
button:active { transform:scale(.98); }

button.secondary {
  background:var(--bg-hover);
  color:var(--text);
  border:1px solid var(--border-hover);
  box-shadow:none;
}
button.secondary:hover { background:rgba(0,210,255,.08); border-color:var(--cyan); color:var(--cyan); transform:translateY(-1px); box-shadow:none; }

/* ── Panel header (legacy) ───────────── */
.panel-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 0; }

/* ── Tabs (base, overridden by sidebar) ─ */
.tabs-nav { display:flex; gap:8px; flex-wrap:wrap; margin:14px 0 18px; }
.tab-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  font-weight: 500;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  font-size: .88rem;
  box-shadow: none;
}
.tab-btn.active { color: var(--blue); }
.tab-btn:not(.active):hover { color: var(--text); transform: none; box-shadow: none; }
.tab-panel.tab-hidden { display:none; }

/* ══════════════════════════════════════════════
   PANEL LAYOUT — topbar + sidebar + main
   ══════════════════════════════════════════════ */

body.panel-mode { overflow: hidden; }
body.panel-mode .layout {
  max-width: none;
  padding: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.panel-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--bg-primary);
}

/* ── Topbar ─────────────────────────── */
.panel-topbar {
  height: 54px;
  min-height: 54px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  z-index: 10;
}
.panel-topbar-brand { display: flex; align-items: center; gap: 10px; }
.panel-topbar-logo {
  width: 32px; height: 32px;
  background: rgba(59,130,246,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(59,130,246,.22);
}
.panel-topbar-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); letter-spacing: .08em; }
.panel-topbar-divider { width: 1px; height: 18px; background: var(--border-hover); }
.panel-topbar-subtitle { font-size: .8rem; color: var(--muted); font-weight: 500; }
.panel-topbar-actions { display: flex; gap: 8px; }
.btn-topbar {
  background: var(--bg-hover);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  box-shadow: none;
}
.btn-topbar:hover { border-color: var(--border-hover); color: var(--text); transform: none; box-shadow: none; }
.btn-topbar-danger:hover { border-color: rgba(248,113,113,.4); color: var(--red); }

/* ── Body = sidebar + main ──────────── */
.panel-body { display: flex; flex: 1; overflow: hidden; }

/* ── Sidebar ────────────────────────── */
.panel-sidebar {
  width: 210px; min-width: 210px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  display: flex; flex-direction: column;
  padding: 12px 8px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-nav .tab-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  border: none;
  text-align: left;
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.3;
}
.sidebar-nav .tab-btn:hover { background: var(--bg-hover); color: var(--text); transform: none; box-shadow: none; }
.sidebar-nav .tab-btn.active {
  background: rgba(59,130,246,.12);
  color: #60a5fa;
  border-left: 3px solid #3b82f6;
  padding-left: 9px;
  box-shadow: none;
}
.si { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }
.sidebar-badge { margin-left: auto; color: #fff; border-radius: 10px; padding: 1px 7px; font-size: .72rem; font-weight: 700; }
.sidebar-badge-live { background: transparent !important; color: var(--green); font-size: .9rem; padding: 0; }
.sidebar-sep { height: 1px; background: var(--border); margin: 8px 4px; }

/* ── Main content ───────────────────── */
.panel-main { flex: 1; overflow-y: auto; padding: 24px 28px; background: var(--bg-primary); }
.panel-main .tab-panel { padding-bottom: 40px; }
.panel-main h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }

/* ── Responsive ─────────────────────── */
@media (max-width: 768px) {
  .panel-sidebar { width: 52px; min-width: 52px; padding: 8px 4px; }
  .sidebar-nav .tab-btn span:not(.si) { display: none; }
  .sidebar-nav .tab-btn { justify-content: center; padding: 10px; gap: 0; }
  .sidebar-nav .tab-btn.active { border-left: none; border-bottom: 3px solid #3b82f6; padding-left: 10px; }
  .sidebar-badge:not(.sidebar-badge-live) { display: none; }
  .panel-main { padding: 16px; }
}

/* ── Horarios tab ────────────────────── */
.horario-form { flex-wrap:wrap; gap:10px; }
.horario-nombre { min-width:180px; }
.horario-label { display:flex; align-items:center; gap:6px; font-weight:400; }
.horario-tolerancia { width:65px; }
.horario-select { min-width:180px; }
.horario-dias { border:1px solid var(--border,#334); border-radius:6px; padding:6px 12px; display:flex; gap:10px; flex-wrap:wrap; }
.horario-dias-legend { font-size:.8rem; color:var(--muted); }
.horario-dias-col { letter-spacing:2px; }
.horarios-lista-title { margin-top:24px; }
.horarios-sep { margin:24px 0; }
.horario-ok { color:#22c55e; font-size:.9rem; margin-top:6px; }
.horario-btn-sm { padding:4px 10px; font-size:.8rem; }
.horario-btn-danger { color:#ef4444; }
.horario-partido-toggle { font-weight:600; }
.horario-partido-tramo { display:contents; }
.horario-tag { display:inline-flex; align-items:center; gap:6px; background:rgba(0,210,255,.08); border:1px solid rgba(0,210,255,.2); border-radius:20px; padding:3px 10px; font-size:.82rem; margin:3px 4px 3px 0; }
.horario-tag-quitar { background:none; border:none; color:var(--muted); cursor:pointer; font-size:1rem; line-height:1; padding:0 2px; border-radius:50%; }
.horario-tag-quitar:hover { color:#ef4444; background:rgba(239,68,68,.1); }

/* ── Grid ────────────────────────────── */
.grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.inline-form { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:10px; }
.inline-form input, .inline-form select { flex:1 1 160px; min-width:0; }
.inline-form button, .inline-form a { flex:0 0 auto; }

/* ── System health ───────────────────── */
.system-health-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.health-box { border:1px solid var(--border); border-radius:10px; padding:12px; background:var(--bg-secondary); }

/* ── Table ───────────────────────────── */
table { width:100%; border-collapse:collapse; font-size:.9rem; }
th { text-align:left; padding:10px 12px; background:rgba(0,210,255,.04); border-bottom:1px solid var(--border-hover); color:var(--muted); font-weight:600; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; font-family:var(--font-display); }
td { padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:middle; }
tr:last-child td { border-bottom:none; }
tr:hover td { background:rgba(0,210,255,.03); }

/* ── Buttons extra ───────────────────── */
.btn-accion { border:none; border-radius:6px; padding:4px 10px; font-size:.82rem; font-weight:600; cursor:pointer; transition:opacity .15s; }
.btn-accion:hover { opacity:.82; }
.btn-editar { background:rgba(59,130,246,.15); color:var(--blue); border:1px solid rgba(59,130,246,.3); }
.btn-pin    { background:rgba(234,179,8,.12); color:var(--yellow); border:1px solid rgba(234,179,8,.3); }
.btn-editar-centro { background:rgba(59,130,246,.15); color:var(--blue); border:1px solid rgba(59,130,246,.3); }
.btn-baja-centro { background:rgba(248,113,113,.12); color:var(--red); border:1px solid rgba(248,113,113,.35); }
.btn-activar-centro { background:rgba(34,197,94,.12); color:var(--green); border:1px solid rgba(34,197,94,.35); }

/* ── Misc ────────────────────────────── */
.muted { color:var(--muted); }
.hint  { font-weight:400; color:var(--muted); font-size:.82rem; }
.form-info { background:rgba(0,210,255,.05); border:1px solid rgba(0,210,255,.2); border-radius:8px; padding:10px 14px; margin-bottom:16px; font-size:.88rem; color:var(--muted); }

/* ── Dialog ──────────────────────────── */
dialog {
  background:var(--bg-card);
  border:1px solid var(--border-hover);
  border-radius:16px;
  padding:28px 32px;
  min-width:340px;
  max-width:480px;
  width:90%;
  box-shadow:0 24px 64px rgba(0,0,0,.6),0 0 40px rgba(0,210,255,.06);
  color:var(--text);
}
dialog::backdrop { background:rgba(0,0,0,.65); backdrop-filter:blur(8px); }
dialog h3 { margin:0 0 16px; font-size:1.1rem; font-family:var(--font-display); color:var(--cyan); }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:16px; }
.form-grid label, dialog > form > label { display:flex; flex-direction:column; gap:4px; font-size:.85rem; font-weight:600; color:var(--muted); }
.form-grid input[type="text"], .form-grid input[type="password"],
dialog input[type="password"], dialog input[type="text"] { padding:8px 10px; width:100%; }
.check-label { grid-column:1 / -1; flex-direction:row !important; align-items:center; gap:8px !important; }
.form-error { color:var(--red); background:rgba(248,113,113,.08); border:1px solid rgba(248,113,113,.25); border-radius:6px; padding:8px 10px; font-size:.85rem; margin-bottom:12px; }
.form-error.hidden { display:none; }

.modal-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:12px; }
.btn-primary   { background:linear-gradient(135deg,var(--cyan),var(--blue)); color:#000; border:none; border-radius:7px; padding:9px 20px; font-weight:600; cursor:pointer; font-family:var(--font-body); transition:var(--transition); }
.btn-primary:hover { box-shadow:0 4px 16px rgba(0,210,255,.3); transform:translateY(-1px); }
.btn-secondary { background:var(--bg-hover); color:var(--text); border:1px solid var(--border-hover); border-radius:7px; padding:9px 20px; font-weight:600; cursor:pointer; font-family:var(--font-body); transition:var(--transition); }
.btn-secondary:hover { border-color:var(--cyan); color:var(--cyan); }

/* ── Backups table download btn ──────── */
.btn { display:inline-flex; align-items:center; padding:5px 12px; border-radius:6px; font-size:.82rem; font-weight:600; cursor:pointer; text-decoration:none; transition:var(--transition); }
.btn.secondary { background:var(--bg-hover); color:var(--muted); border:1px solid var(--border); }
.btn.secondary:hover { border-color:var(--cyan); color:var(--cyan); }

/* ── Toast ───────────────────────────── */
.toast { position:fixed; right:16px; bottom:16px; background:var(--bg-card); border:1px solid var(--border-hover); color:var(--text); padding:12px 16px; border-radius:10px; font-size:.9rem; z-index:9999; box-shadow:0 8px 32px rgba(0,0,0,.5); }
.toast.hidden { display:none; }

/* ── 2FA ─────────────────────────────── */
.otp-info { text-align:center; padding:12px 0 8px; }
.otp-icon { font-size:2rem; }
.otp-info p { color:var(--muted); margin:6px 0 16px; font-size:.9rem; }
#otpCode { letter-spacing:.3em; font-size:1.4rem; text-align:center; font-weight:700; font-family:var(--font-display); }
.tfa-status { display:flex; align-items:center; gap:14px; padding:14px 0; }
.qr-container { display:flex; justify-content:center; margin:16px 0; }
.qr-container img { border:4px solid var(--border-hover); border-radius:12px; padding:8px; background:var(--bg-secondary); }

/* ── Responsive ──────────────────────── */
@media (max-width:900px) {
  .grid { grid-template-columns:1fr; }
  .tabs-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* ── Ausencias ───────────────────────── */
.aus-badge { display:inline-block; font-size:.75rem; font-weight:700; padding:2px 9px; border-radius:20px; text-transform:uppercase; letter-spacing:.04em; }
.aus-badge.PENDIENTE  { background:rgba(234,179,8,.15); color:#fbbf24; border:1px solid rgba(234,179,8,.35); }
.aus-badge.APROBADA   { background:rgba(34,197,94,.1); color:#4ade80; border:1px solid rgba(34,197,94,.3); }
.aus-badge.RECHAZADA  { background:rgba(248,113,113,.1); color:#f87171; border:1px solid rgba(248,113,113,.3); }
.origen-badge { display:inline-block; font-size:.72rem; font-weight:700; padding:2px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:.04em; }
.origen-tt    { background:rgba(99,102,241,.15); color:#818cf8; border:1px solid rgba(99,102,241,.35); }
.origen-qr    { background:rgba(34,197,94,.1);   color:#4ade80; border:1px solid rgba(34,197,94,.3); }
.origen-movil { background:rgba(148,163,184,.1);  color:#94a3b8; border:1px solid rgba(148,163,184,.3); }

/* Calendario ausencias */
.aus-calendar { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.aus-cal-header { display:grid; grid-template-columns:repeat(7,1fr); }
.aus-cal-dow { text-align:center; padding:8px 4px; font-size:.75rem; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; border-bottom:1px solid var(--border); }
.aus-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); }
.aus-cal-day { min-height:64px; border-bottom:1px solid var(--border); border-right:1px solid var(--border); padding:5px 6px; position:relative; }
.aus-cal-day:nth-child(7n) { border-right:none; }
.aus-cal-day.other-month { opacity:.3; }
.aus-cal-day.today { background:rgba(0,210,255,.06); }
.aus-day-num { font-size:.78rem; color:var(--muted); font-weight:600; }
.aus-day-chip { font-size:.7rem; font-weight:600; border-radius:4px; padding:2px 5px; margin-top:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:default; }
.aus-day-chip.APROBADA  { background:rgba(34,197,94,.2); color:#4ade80; }
.aus-day-chip.PENDIENTE { background:rgba(234,179,8,.18); color:#fbbf24; }
.aus-day-chip.RECHAZADA { background:rgba(248,113,113,.15); color:#f87171; }

/* ── Modal enlaces ── */
#modalEnlaces { padding: 20px 24px; min-width: min(500px, 95vw); }
.enlace-row { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.enlace-row:last-child { border-bottom: none; }
.enlace-row span { font-weight: 600; white-space: nowrap; }
.enlace-row a { color: var(--accent, #38bdf8); word-break: break-all; font-size: .8rem; }
.enlace-row .btn-copy-enlace { white-space: nowrap; }

/* ══════════════════════════════════════════════
   LOGIN PAGE — estilo Dention (claro sobre gradiente)
   ══════════════════════════════════════════════ */

body.login-mode {
  background: linear-gradient(145deg, #0f2040 0%, #0b3a62 45%, #095252 100%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.login-mode .layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* Tarjeta blanca del login */
.login-card {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.15) !important;
  max-width: 420px;
  width: 100%;
  padding: 40px 36px 32px !important;
  margin: 0 !important;
  border-radius: 20px !important;
}

/* Logo + nombre de marca */
.login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.login-logo-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(29,78,216,.30);
}
.login-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: .12em;
}

/* Títulos */
.login-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin: 0 0 6px;
}
.login-subtitle {
  color: #64748b;
  text-align: center;
  font-size: .88rem;
  margin: 0 0 24px;
}

/* Campos del formulario dentro de login */
.login-card label                     { color: #374151; font-size: .85rem; font-weight: 600; }
.login-card input[type="text"],
.login-card input[type="password"],
.login-card input[type="email"]       { background: #f8fafc; border: 1.5px solid #e2e8f0; color: #0f172a; }
.login-card input::placeholder        { color: #94a3b8; }
.login-card input:focus               { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }

/* Botón submit */
.login-card button[type="submit"] {
  background: #2563eb;
  color: #ffffff;
  width: 100%;
  padding: 13px;
  font-size: .97rem;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 6px;
  box-shadow: none;
}
.login-card button[type="submit"]:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37,99,235,.30);
  transform: translateY(-1px);
}

/* Botón secundario (Cancelar) */
.login-card .recovery-actions .secondary,
.login-card button.secondary {
  background: #f1f5f9;
  color: #374151;
  border-color: #e2e8f0;
  box-shadow: none;
}
.login-card .recovery-actions .secondary:hover,
.login-card button.secondary:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: none;
}

/* Textos auxiliares */
.login-card .muted            { color: #64748b; }
.login-card .link-button      { color: #2563eb; font-weight: 500; }
.login-card .link-button:hover { color: #1d4ed8; }
.login-card .recovery-form    { border-top-color: #e2e8f0; }
.login-card .login-help       { text-align: center; }

/* Footer legal (solo visible en login-mode) */
.login-footer {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 20px;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
}
.login-footer a   { color: rgba(255,255,255,.6); text-decoration: none; }
.login-footer a:hover { color: #ffffff; }
.login-footer .sep { opacity: .35; }
