/*
 * login.css — Login page layout.
 * Minimal positioning only — design pass in Phase 4.
 */

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  position: relative;
  overflow-x: hidden;

  /* "Inside a blood vessel" backdrop — warm red glow at center fading
     to a near-black red at the edges, like looking down a lit vessel. */
  background: radial-gradient(
    ellipse at 50% 40%,
    #8a1f14 0%,
    #5c130c 45%,
    #2a0806 100%
  );
}

/*
 * Live background container (added this session) — see
 * /js/entry/authBackground.js. Fixed full-viewport, sits behind the card
 * (z-index 0 vs the card's 1), pointer-events disabled so it never
 * intercepts clicks/taps meant for the form on top of it.
 */
#auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.login-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.login-brand {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
}

.brand-org {
  font-size: 12px;
  color: #666;
}

.login-heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.login-subheading {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.login-error {
  display: none;
  font-size: 13px;
  color: #c00;
  border: 1px solid #c00;
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 16px;
}

/* Full-width button modifier — used on the login submit button only.
 * Do not override .btn-primary directly — that is a shared class in main.css. */
.btn-full-width {
  width: 100%;
  padding: 10px;
}

.login-register-link {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: #666;
}

.login-register-link a {
  color: #c0392b;
  text-decoration: none;
  font-weight: 600;
}