/* ============================================================
   Auth Page Layout — uses UI kit components, only adds layout
   ============================================================ */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: var(--background);
  font-family: var(--font-sans);
}

.auth-page .card {
  max-width: 420px;
  width: 100%;
}

.auth-page .card-header {
  text-align: center;
  align-items: center;
}

.auth-page .card-footer {
  justify-content: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.auth-page .card-footer a {
  color: var(--primary);
  text-decoration: none;
  margin-left: 0.25rem;
}
.auth-page .card-footer a:hover {
  text-decoration: underline;
}

/* Logo */
.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.auth-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--primary);
  border-radius: 0.5625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-size: 1.125rem;
  font-weight: 800;
}
.auth-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

/* Divider "o continua con email" */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  margin: 1rem 0;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border);
}

/* Social auth button — extends .btn .btn-outline */
.auth-social-btn {
  width: 100%;
  gap: 0.625rem;
}

/* Alert — feedback */
.auth-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.auth-alert-error {
  background: oklch(from var(--destructive) l c h / 10%);
  color: var(--destructive);
  border: 1px solid oklch(from var(--destructive) l c h / 20%);
}
.auth-alert-success {
  background: oklch(from var(--success) l c h / 10%);
  color: var(--success);
  border: 1px solid oklch(from var(--success) l c h / 20%);
}
.auth-alert-info {
  background: oklch(from var(--info) l c h / 10%);
  color: var(--info);
  border: 1px solid oklch(from var(--info) l c h / 20%);
}

/* Verify code hint */
.auth-code-hint {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 0.5rem;
}
.auth-code-hint strong {
  color: var(--foreground);
}

/* Full-width button helper */
.auth-btn-full {
  width: 100%;
}

/* Inline link row (forgot password, etc.) */
.auth-inline-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.auth-inline-link a {
  font-size: 0.8125rem;
  color: var(--primary);
  text-decoration: none;
}
.auth-inline-link a:hover {
  text-decoration: underline;
}
