html.auth-pending body { visibility: hidden; }

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #202533;
  background:
    radial-gradient(circle at 18% 20%, rgba(71, 94, 191, .15), transparent 32%),
    linear-gradient(135deg, #f4f5f8 0%, #eef1f8 100%);
}
.auth-card {
  width: min(280px, 100%);
  padding: 22px;
  background: #fff;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(31, 38, 58, .12);
}
.auth-brand { display: flex; align-items: center; justify-content: flex-start; gap: 3px; margin-bottom: 20px; text-align: left; }
.auth-brand > div { flex: 0 1 auto; min-width: 0; }
.auth-brand img { width: 46px; height: 46px; object-fit: contain; }
.auth-brand h1 { margin: 0; font-size: 16.8px; line-height: 1.3; text-align: left; }
.auth-brand p {
  display: inline-block;
  margin: 4px 0 0;
  color: #747b89;
  font-size: 9.6px;
  text-align: left;
  letter-spacing: 2px;
}
.auth-field { display: grid; gap: 8px; }
.auth-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: #202533;
  background: #fafbfc;
  border: 1px solid #cfd5df;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
  text-align: center;
  outline: none;
}
.auth-field input::placeholder { color: #9aa1ad; }
.auth-field input:focus { border-color: #3b55b9; box-shadow: 0 0 0 3px rgba(59, 85, 185, .12); }
.auth-submit {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  color: #fff;
  background: #3b55b9;
  border: 0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.auth-submit:hover { background: #3049a4; }
.auth-submit:disabled { cursor: wait; opacity: .7; }
.auth-error { margin: 12px 0 0; color: #c43e3e; font-size: 9.6px; line-height: 1.5; }

@media (max-width: 560px) {
  .auth-page { padding: 14px; }
  .auth-card { padding: 18px 16px; }
}
