/* ==========================================================================
   Server pages — sign-in, setup and user management
   ========================================================================== */

.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  background: white;
  border: 1px solid #e8e5ef;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 440px;
}

.auth-card h1 {
  margin-bottom: 8px;
}

.eyebrow {
  display: block;
  color: #50359c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack .field {
  margin: 0;
}

.stack label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.stack input,
.stack select {
  width: 100%;
}

.notice {
  border-radius: 10px;
  padding: 11px 14px;
  margin: 0 0 16px;
  color: #25233a;
}

.notice-success {
  background: #e6f6ec;
}

.notice-error {
  background: #fde8e8;
  color: #8f1b1b;
}

.notice-warning {
  background: #fff4dc;
}

.footnote {
  margin-top: 20px;
  font-size: 14px;
}

.recaptcha {
  min-height: 78px;
}

.inline-form {
  display: inline;
  margin: 0;
}

.users-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  align-items: start;
}

@media (max-width: 900px) {
  .users-grid {
    grid-template-columns: 1fr;
  }
}
