/* ============================================================
   AUTH — LIGHT THEME
   ============================================================ */

.auth-wrapper {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  background: #f4f6fb;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.12) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: authFadeIn 0.6s ease;
}

@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-card-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.auth-logo {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  animation: authPulse 2.5s ease-in-out infinite;
}

@keyframes authPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.auth-card-header h4 {
  color: #fff;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.auth-card-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.auth-card-body {
  padding: 2rem;
  background: #ffffff;
}

.auth-card-body .form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6b7280;
  font-weight: 600;
}

.auth-card-body .form-control {
  height: 48px;
  font-size: 1rem;
  padding: 0 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #1a1a2e;
}

.auth-card-body .form-control:focus {
  background: #ffffff;
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.auth-card-body .btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: 700;
  height: 48px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.auth-card-body .btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
  color: #fff;
}

.auth-card-footer {
  padding: 0 2rem 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
  background: #ffffff;
}

.auth-error {
  background: #fee2e2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  animation: authShake 0.4s ease;
}

@keyframes authShake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

@media (max-width: 480px) {
  .auth-card-header { padding: 2rem 1.5rem 1.5rem; }
  .auth-card-body   { padding: 1.5rem; }
  .auth-card-footer { padding: 0 1.5rem 1.5rem; }
}