/* ── Login page — full-viewport hero with frosted glass card ── */

.login-shell {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a2b63, #1854b5 55%, #4994ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  width: 100%;
  max-width: 440px;
  padding: 38px;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.40);
}

/* Override base card styles for the login card */
.login-shell .login-card {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.40);
}

/* Brand header */
.login-brand {
  text-align: center;
  margin-bottom: 28px;
}

.login-brand-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.login-brand-name span {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.52);
}

.login-brand-tagline {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

/* Copy */
.login-copy {
  margin-bottom: 24px;
}

.login-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 1.9rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.login-subtitle {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Form */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.form-field input[type="text"],
.form-field input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.18s ease;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-field input:focus {
  border-color: rgba(147, 197, 253, 0.65);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

/* Error */
.login-shell .alert-card--danger {
  background: rgba(255, 241, 242, 0.15);
  border-color: rgba(254, 202, 202, 0.4);
}

.login-shell .alert-card--danger b {
  color: #fecaca;
}

/* Submit button */
.login-actions {
  margin-top: 6px;
}

.login-actions .btn-primary,
.login-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border: 1px solid rgba(96, 165, 250, 0.38);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  transition: all 0.18s ease;
}

.login-actions .btn-primary:hover,
.login-actions .btn:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.32);
}

/* Footnote */
.login-footnote {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.30);
  text-align: center;
}
