/* ============================================
   EDMFire Admin - Login Page Styles
   ============================================ */

.login-screen {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, #0c0e1a 0%, #151829 50%, #1c1f3a 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}

.login-card {
  background: #1a1d2e; border-radius: 20px; padding: 40px 36px;
  width: 100%; max-width: 400px; margin: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid #2a2d42;
}

.login-logo {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #7c6cf0, #9d8cf8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: 0 4px 15px rgba(124,108,240,0.3);
}

.login-title { font-size: 22px; font-weight: 700; color: #e8e9f0; margin-bottom: 4px; }
.login-subtitle { font-size: 13px; color: #7c7f96; margin-bottom: 28px; }

.login-form { width: 100%; display: flex; flex-direction: column; gap: 14px; }

.login-field {
  display: flex; align-items: center; gap: 10px;
  border: 2px solid #2a2d42; border-radius: 12px;
  padding: 0 14px; height: 48px;
  background: #12141f;
  transition: border-color 0.2s;
}
.login-field:focus-within { border-color: #7c6cf0; }
.login-field input {
  flex: 1; border: none; background: transparent;
  font-size: 14px; outline: none; font-family: 'Poppins', sans-serif;
  height: 100%; color: #d8dae5;
}
.login-field input::placeholder { color: #5a5d72; }

.login-btn {
  height: 48px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #7c6cf0, #9d8cf8);
  color: #ffffff; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 4px;
}
.login-btn:hover { opacity: 0.9; }
.login-btn:active { transform: scale(0.98); }
.login-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.login-error {
  font-size: 12px; color: #f87171; text-align: center;
  min-height: 18px; display: none;
}

@media (max-width: 480px) {
  .login-card { padding: 30px 24px; }
}
