.auth-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.22), transparent 38%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
  box-sizing: border-box;
}

.auth-card {
  width: min(440px, 100%);
  padding: 34px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  box-sizing: border-box;
}

.auth-logo {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.auth-card h1 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.3;
}

.auth-card p {
  margin: 0 0 24px;
  color: #475569;
  line-height: 1.65;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.auth-form.is-hidden {
  display: none !important;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 16px;
  box-sizing: border-box;
}

.auth-field input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.auth-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 14px;
  background: #2563eb;
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
}

.auth-submit:hover {
  background: #1d4ed8;
}

.auth-link-button {
  border: 0;
  background: transparent;
  color: #2563eb;
  font-weight: 800;
  cursor: pointer;
}

.auth-message {
  min-height: 22px;
  margin-top: 18px !important;
  font-size: 14px;
  font-weight: 700;
}

.auth-message.is-error {
  color: #b42318;
}

.auth-message.is-success {
  color: #067647;
}

.auth-message.is-info {
  color: #175cd3;
}
