body.auth-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top, rgba(11, 95, 255, 0.08), transparent 42%),
    var(--bg);
}

.auth-shell {
  width: 100%;
  max-width: 420px;
}

.auth-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-brand img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.auth-brand p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 1.1rem 1.35rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-card-header h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.auth-card-body {
  padding: 1.5rem 1.35rem 1.35rem;
}

.auth-card-body .form-group:last-of-type {
  margin-bottom: 0;
}

.auth-card-body .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 0.35rem;
}

.auth-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.auth-footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer-links a:hover {
  text-decoration: underline;
}

.auth-footer-links--center {
  justify-content: center;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.auth-remember input {
  width: 1.1rem;
  height: 1.1rem;
}

.auth-theme-toggle {
  display: block;
  margin: 1.25rem auto 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.auth-theme-toggle:hover {
  color: var(--primary);
}
