/* Login page styles (dark theme consistent with welcome.css) */
:root{
  /* fallback values if welcome.css not loaded */
  --bg: #0d1117;
  --panel: #0b1220;
  --muted: #9aa4af;
  --accent: #2b9af3;
  --border: #23272b;
}

/* Ensure full page dark background on auth pages */
html,body{height:100%;margin:0;padding:0;background:var(--bg);}

.login-container{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px 16px;
  min-height:100vh;
  background:transparent;
}

.login-card{
  width:100%;
  max-width:520px;
  background:linear-gradient(180deg, rgba(255,255,255,0.01), transparent);
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:0 12px 40px rgba(2,6,23,0.6);
  padding:28px;
  color:#e6eef6;
}

.login-title{margin:0 0 6px;font-size:22px;color:#fff}
.muted{color:var(--muted);font-size:14px}

.login-form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
.form-field{display:flex;flex-direction:column;gap:6px}
.form-field label{font-size:13px;color:var(--muted)}
.input{padding:10px;border-radius:8px;border:1px solid rgba(255,255,255,0.03);background:transparent;color:#e6eef6;font-size:15px}

.actions{display:flex;gap:10px;align-items:center}
.btn{background:var(--accent);color:#fff;padding:10px 14px;border-radius:10px;border:none;cursor:pointer}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted);padding:8px 12px;border-radius:10px;text-decoration:none}

.help-links{margin-top:8px}
.help-links .muted{font-size:13px}

.flash{padding:10px;border-radius:8px;margin-bottom:12px}
.flash-error{background:rgba(255,69,58,0.08);color:#ff6b6b;border:1px solid rgba(255,69,58,0.12)}

@media (max-width:520px){
  .login-card{padding:18px}
}
