.auth-page {
  min-height: calc(100vh - 9rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,.04);
  border: 1px solid #16223a;
  border-radius: 1rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}

.auth-card__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.auth-card__header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .4rem;
}

.auth-card__header p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

.flash {
  border-radius: .5rem;
  padding: .75rem 1rem;
  font-size: .875rem;
  margin-bottom: 1rem;
}

.flash--alert {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
}

.flash--notice {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
}

.auth-form .field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}

.auth-form .field label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}

.auth-form .field input {
  background: rgba(255,255,255,.06);
  border: 1px solid #1e3050;
  border-radius: .5rem;
  padding: .65rem .85rem;
  color: var(--text);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}

.auth-form .field input::placeholder {
  color: #4a6080;
}

.auth-form .field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34,197,94,.15);
}

.auth-form .field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: .6rem;
}

.auth-form .field--checkbox input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.auth-form .field--checkbox label {
  font-size: .875rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}

.auth-form .field--checkbox label a {
  color: var(--primary);
  text-decoration: underline;
}

.auth-form__actions {
  margin-top: 1.5rem;
}

.btn--block {
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1rem;
  border: none;
}

.auth-card__footer {
  text-align: center;
  margin-top: 1.25rem;
}

.auth-link {
  color: var(--muted);
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
}

.auth-link:hover {
  color: var(--primary);
}

.auth-link--inline {
  color: var(--primary);
  font-weight: 600;
}

.auth-card__divider {
  border: none;
  border-top: 1px solid #16223a;
  margin: 1rem 0 0;
}
