.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.auth-wrap { width: 100%; max-width: 400px; }

.auth-brand { text-align: center; margin-bottom: 20px; }

.auth-card { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 16px; }

.auth-title { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.01em; }

.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label { font-size: 13px; font-weight: 600; color: var(--muted); }

.auth-input {
  height: 46px;
  padding: 0 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.auth-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .18);
}
.has-error .auth-input { border-color: #C9374A; }
.auth-error { margin: 0; font-size: 13px; color: #C9374A; }

.auth-alert {
  padding: 12px 14px;
  font-size: 14px;
  color: #8E2333;
  background: #FDEEF0;
  border-radius: var(--radius-sm);
}
.auth-alert p { margin: 0; }

.auth-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.auth-check input { width: 16px; height: 16px; accent-color: var(--accent); }

.auth-submit {
  height: 46px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t), box-shadow var(--t);
}
.auth-submit:hover { background: #2560D6; }
.auth-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
