/* ログイン画面・パスワード変更画面 */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: linear-gradient(160deg, var(--sidebar) 0%, #123c6b 45%, var(--bg) 45.1%);
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(10, 30, 60, 0.18);
  padding: 36px 32px 32px;
}
.auth-brand { display: flex; align-items: baseline; justify-content: center; gap: 12px; color: var(--sidebar); margin-bottom: 6px; }
.auth-brand .brand-logo { font-size: 34px; }
.auth-brand .brand-sub { font-size: 16px; }
.auth-lead { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-field { display: block; margin-bottom: 16px; }
.auth-field span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-2); }
.auth-field input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 8px; background: #f8fafd;
  font-size: 16px; outline: none;
}
.auth-field input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(18, 104, 232, 0.15); }
.auth-hint { font-size: 12.5px; color: var(--muted); margin: -8px 0 16px; }
.auth-error {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--red-soft); color: #b42326; border-radius: 8px;
  padding: 10px 12px; font-size: 14px; margin-bottom: 16px;
}
.auth-error[hidden], .auth-notice[hidden] { display: none; }
.auth-notice { background: var(--primary-soft); color: var(--primary-dark); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 16px; }
.auth-submit { width: 100%; height: 50px; border: 0; font-size: 16px; }
.auth-submit:disabled { opacity: 0.6; cursor: default; }
.auth-foot { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-foot a { color: var(--link); }

@media (max-width: 480px) {
  .auth-card { padding: 28px 20px 24px; }
}
