@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0f172a;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.25) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.2) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.auth-box {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 36px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-login {
  display: block;
  margin: 0 auto 28px auto;
  max-width: 180px;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.auth-box h3, .auth-box h5 {
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 14px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.btn-danger, .btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3) !important;
  transition: all 0.2s ease !important;
}

.btn-danger:hover, .btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 24px rgba(99, 102, 241, 0.4) !important;
}

.form-toggle, #showForgot {
  color: #6366f1;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.form-toggle:hover, #showForgot:hover {
  color: #4f46e5;
  text-decoration: underline;
}

.error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
