.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at top right, rgba(248, 228, 236, 0.9), transparent 42%),
    var(--cream);
}

.auth-card {
  width: min(440px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
}

.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 22px;
}

.auth-brand h1 {
  font-size: 1.55rem;
}

.auth-brand p {
  color: var(--muted);
  font-size: 0.92rem;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #e0c8d1;
  border-radius: 12px;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}

.form-control:focus {
  outline: 2px solid color-mix(in srgb, var(--burgundy) 30%, white);
  border-color: var(--burgundy);
}

.form-hint {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--muted);
}

.link-btn {
  background: none;
  border: 0;
  color: var(--burgundy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: underline;
  min-height: 44px;
}

.auth-notice,
.auth-footer {
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 14px;
  font-size: 0.86rem;
}

.alert[hidden] {
  display: none !important;
}

.alert-danger {
  background: #fdecec;
  color: var(--danger);
  border: 1px solid #f6c9c6;
}

.alert-success {
  background: #eaf8ee;
  color: var(--success);
  border: 1px solid #c8e6d0;
}


.auth-logo {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin: 0 auto 0.75rem;
}
