.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #1f2937 100%);
  padding: 24px;
}

.login-shell {
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.login-header {
  margin-bottom: 40px;
  color: #fff;
}

.login-logo-wrap {
  height: 72px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 16px;
  margin: 0 0 20px;
  background: #fff;
}

.login-logo-wrap img {
  height: 44px;
  width: auto;
  display: block;
}

.login-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #fff;
}

.login-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}

/* Email/password form */
.login-form {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: grid;
  gap: 14px;
  text-align: left;
}

.login-form label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  display: grid;
  gap: 6px;
}

.login-form input {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.login-form button {
  margin-top: 4px;
}

.login-error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.88rem;
  text-align: center;
}

/* The other half of .login-error: confirmation rather than refusal. Used by
   the forgot-password page, whose success case is a message and not a
   redirect — there is nowhere to send someone who is still signed out. */
.login-notice {
  margin: 0;
  color: #86efac;
  font-size: 0.88rem;
  text-align: center;
  line-height: 1.5;
}

/* Way out of the sign-in form for people who don't have an account yet. */
.login-alt {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.9;
}

.login-alt a {
  color: #fff;
  font-weight: 600;
}

/* Quieter than .login-alt: these are the documents you read once, not a way
   into the app. Reachable from the front door without signing in, which is
   the point — you agree to them before you have an account. */
.login-legal {
  margin: 24px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.login-legal a {
  color: rgba(255, 255, 255, 0.6);
}
