/**
 * ------------------------------------------------------------
 * auth.css — estilos compartidos de las páginas públicas de
 * autenticación (login, aceptar invitación, recuperar cuenta,
 * verificar enlace mágico). Paleta de marca de Asesorías IT Edutech
 * (azul + cian), consistente con el resto de GAD-C.
 * ------------------------------------------------------------
 */
:root {
  --accent: #0f68b0;
  --accent-ink: #0a4d85;
  --accent-soft: #e5eef7;
  --line: #dde3ea;
  --muted: #58687a;
  --ink: #1c1f24;
  --red: #b23b3b;
  --red-soft: #f6e1df;
  --bg: #f3f6fa;
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg); font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink); padding: 24px;
}
.auth-wrap { width: 100%; max-width: 420px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px 32px; box-shadow: 0 12px 32px rgba(18,22,28,.06); }
.auth-brand { display: flex; align-items: center; margin-bottom: 26px; }
.auth-brand img { max-width: 100%; height: 36px; object-fit: contain; object-position: left center; }
.auth-card h1 { font-size: 21px; margin: 0 0 6px; letter-spacing: -0.01em; }
.auth-sub { color: var(--muted); font-size: 13.5px; margin: 0 0 24px; }
.field { margin-bottom: 16px; }
label { font-size: 12.5px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 5px; }
input, select {
  width: 100%; font-family: inherit; font-size: 14px; padding: 10px 12px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 9px; font-size: 14px; font-weight: 700; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-block { width: 100%; margin-top: 4px; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.auth-link { display: block; text-align: center; margin-top: 18px; font-size: 13px; color: var(--accent-ink); text-decoration: none; font-weight: 600; }
.auth-link:hover { text-decoration: underline; }
.auth-footer { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: center; }
#langSwitcher { font-size: 12px; padding: 5px 8px; }
.auth-msg { font-size: 13.5px; padding: 10px 12px; border-radius: 9px; margin-bottom: 16px; }
.auth-msg.info { background: var(--accent-soft); color: var(--accent-ink); }
.auth-msg.error { background: var(--red-soft); color: var(--red); }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.auth-tabs button { flex: 1; min-width: 90px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.auth-tabs button.active { background: var(--accent-soft); color: var(--accent-ink); border-color: var(--accent); }
.auth-step { display: none; }
.auth-step.active { display: block; }
.auth-center { text-align: center; padding: 20px 0; color: var(--muted); font-size: 13.5px; }

.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-alt-row { display: flex; gap: 10px; }
.auth-alt-row .btn { flex: 1; font-size: 13px; padding: 9px 10px; }
.auth-back-link { display: block; text-align: center; margin: 4px 0 0; font-size: 12.5px; color: var(--muted); text-decoration: none; font-weight: 600; cursor: pointer; }
.auth-back-link:hover { color: var(--ink); }
