body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

/* =============================================
   LOGIN PAGE
   ============================================= */

.login-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0f;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.login-bg-glow {
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at top, rgba(30, 144, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.login-wrapper {
  width: 100%;
  max-width: 440px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login-card {
  background: rgba(20, 20, 32, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(30, 144, 255, 0.1) inset;
  animation: loginFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.login-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.login-logo svg {
  width: 28px;
  height: 28px;
  color: #1e90ff;
  filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.5));
}

.login-header {
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #1e90ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-size: 0.9375rem;
  color: #7a7a8c;
  line-height: 1.5;
}

.login-alert {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  margin-bottom: 1.5rem;
  color: #f87171;
  font-size: 0.9375rem;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  60%       { transform: translateX(6px); }
  80%       { transform: translateX(-3px); }
}

.login-alert svg {
  flex-shrink: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #b4b4c8;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.form-input::placeholder {
  color: #4a4a5a;
}

.form-input:focus {
  border-color: #1e90ff;
  background: rgba(30, 144, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.15);
}

.btn-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #1e90ff 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.12), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-login:hover::before {
  transform: translateX(100%);
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 144, 255, 0.45);
}

.btn-login:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
}

.login-footer a {
  font-size: 0.9375rem;
  color: #7a7a8c;
  text-decoration: none;
  transition: color 0.2s ease;
  font-family: inherit;
}

.login-footer a:hover {
  color: #1e90ff;
}

@media (max-width: 480px) {
  .login-body {
    padding: 1rem;
  }

  .login-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }
}