/* Páginas de acceso (login, registro, recuperar contraseña) · usa los tokens de css/design.css */
.auth-container {
  min-height: calc(100vh - var(--header-h, 72px) - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px;
  position: relative;
  isolation: isolate;
}
.auth-container::before {
  content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%); filter: blur(70px); opacity: .5;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--r-lg, 24px);
  box-shadow: 0 40px 80px -40px #000, inset 0 1px 0 rgba(255, 255, 255, .05);
  animation: popIn .6s var(--ease, ease) both;
}

.auth-card h2 { font-size: 1.7rem; margin-bottom: 6px; color: var(--text); }
.auth-card p { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.auth-card form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }

.auth-card input {
  height: 50px;
  padding: 0 18px;
  border-radius: var(--r-md, 16px);
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 15px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.auth-card input::placeholder { color: var(--muted); }
.auth-card input:focus { border-color: var(--accent-hot); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-hot) 18%, transparent); }

.auth-card button[type=submit], .auth-card button {
  margin-top: 8px;
  height: 52px;
  padding: 0 20px;
  border-radius: var(--r-pill, 999px);
  border: 0;
  background: linear-gradient(135deg, #ff3b30, #d40000);
  color: #fff;
  font: 700 15px var(--font-body, Arial);
  cursor: pointer;
  box-shadow: 0 12px 30px -12px var(--glow);
  transition: transform .25s var(--ease, ease), box-shadow .25s;
}
.auth-card button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px var(--glow); }

.auth-card a { color: var(--accent-hot); }
.auth-card .flash-message {
  padding: 12px 14px; border-radius: var(--r-md, 16px); font-size: 14px; font-weight: 600;
  background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); color: var(--text) !important;
}

.auth-links { margin-top: 20px; text-align: center; font-size: 13px; }
.auth-links a { color: var(--accent-hot); text-decoration: none; display: block; margin-top: 6px; }
