/* ============================================================
   Backlink Manager — Auth Pages
   ============================================================ */

.auth-bg {
  background: linear-gradient(150deg, #0f172a 0%, #1e293b 40%, #0f172a 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.auth-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(59,130,246,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.auth-card {
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

[data-bs-theme="dark"] .auth-bg {
  background: linear-gradient(150deg, #020617 0%, #0f172a 60%, #020617 100%);
}

[data-bs-theme="dark"] .auth-card {
  background: #1e293b;
}

.auth-brand {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border-radius: 14px;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
  margin-bottom: 0.25rem;
}

.auth-card .card-body {
  padding: 2.5rem 2rem;
}

.auth-card h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.auth-card .form-floating > .form-control {
  border-radius: 8px;
  padding: 1rem 0.75rem 0 0.75rem;
  height: 52px;
  font-size: 0.9rem;
}

.auth-card .form-floating > label {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.auth-card .form-floating > label i {
  font-size: 0.85rem;
  margin-right: 2px;
}

.auth-card .btn-primary {
  height: 46px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border: none;
  transition: all 0.2s ease;
}

.auth-card .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
  transform: translateY(-1px);
}

.auth-card .btn-primary:active {
  transform: translateY(0);
}

.auth-card .form-check-input:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.auth-card .text-decoration-none {
  color: #3b82f6;
  font-weight: 500;
}

.auth-card .text-decoration-none:hover {
  color: #2563eb;
}

@media (max-width: 576px) {
  .auth-card .card-body {
    padding: 1.75rem 1.25rem;
  }
}