/* ===== Login Page Styles ===== */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px;
  text-align: center;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.login-logo i {
  width: 28px;
  height: 28px;
  color: var(--primary-500);
}

.login-logo span {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-600);
}

.login-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.login-form .form-group {
  text-align: left;
}

.login-form .form-input {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 15px;
}

.login-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.login-footer {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--primary-600);
  font-weight: 500;
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

[data-theme="dark"] .login-error {
  background: #450a0a;
  color: #fca5a5;
}

/* Change Password Modal */
.change-pwd-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.change-pwd-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  width: 90%;
  max-width: 420px;
}

.change-pwd-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.change-pwd-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
