/* --------------------------------------------------
   Login Page Styling – Phase 2 Ready
-------------------------------------------------- */

.login-section {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 32px;
  border-radius: 14px;
  background: #0f172a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.login-header {
  text-align: center;
  margin-bottom: 24px;
}

.login-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.login-title {
  margin: 0;
  font-size: 22px;
}

.login-subtitle {
  margin-top: 6px;
  font-size: 14px;
  opacity: 0.85;
}

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

.login-label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-form input {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #020617;
  color: #e5e7eb;
}

.login-form input:focus {
  outline: none;
  border-color: #f5c542;
}

.login-btn {
  margin-top: 10px;
  padding: 11px;
  border-radius: 8px;
  border: none;
  background: #f5c542;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.login-btn:hover {
  opacity: 0.9;
}

.login-links {
  margin-top: 14px;
  text-align: right;
}

.login-link {
  font-size: 13px;
}

.login-footer {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
}

.login-footer a {
  font-weight: 600;
}

.login-trust {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  opacity: 0.75;
}

/* ---------------- LIGHT THEME ---------------- */

html[data-theme="light"] .login-card {
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .login-form input {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
}

html[data-theme="light"] .login-btn {
  background: #2563eb;
  color: #ffffff;
}
/* Auth standalone pages */
body.auth-page {
  background: #ffffff;          /* or your auth bg */
  color: #0f172a;               /* base text color */
}

/* Ensure auth card text is visible */
.auth-page .login-card {
  color: #ffffff;               /* card text on dark card */
}

.auth-page .login-subtitle,
.auth-page .login-label,
.auth-page .login-links a,
.auth-page .login-footer {
  color: rgba(255, 255, 255, 0.8);
}
/* -----------------------------------
   Reset Password Page Fix
----------------------------------- */

.reset-password-page .login-title,
.reset-password-page .login-subtitle,
.reset-password-page .login-label,
.reset-password-page .login-links a,
.reset-password-page .login-footer,
.reset-password-page .login-trust {
  color: #ffffff !important;
}

.reset-password-page .login-subtitle {
  opacity: 0.85;
}

.reset-password-page .login-label {
  opacity: 0.9;
}
/* Auth page logo */
.auth-logo {
  display: block;
 margin: 24px auto 16px;
  height: 36px;       /* adjust if needed */
  max-width: 160px;
  object-fit: contain;
}
.login-section {
  min-height: 100vh;
  align-items: center;
  padding-top: 40px;
}
.login-links a {
  font-size: 14px;
  text-decoration: underline;
}
/* ================================
   Reset Password – Layout Fix
================================ */

.reset-password-page {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reset-password-page .auth-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* controls logo ↔ card spacing */
}

.auth-logo {
  margin: 0;
  height: 36px;
  max-width: 160px;
  object-fit: contain;
}

/* Ensure correct text colors on dark card */
.reset-password-page .login-title,
.reset-password-page .login-subtitle,
.reset-password-page .login-label,
.reset-password-page .login-links a,
.reset-password-page .login-footer,
.reset-password-page .login-trust {
  color: #ffffff !important;
}
