/* =========================
   Auth（ログイン / 新規登録）
========================= */

.auth-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.auth-card h2 {
  font-size: 22px;
  margin-bottom: 24px;
  text-align: center;
}

/* ===== フォーム ===== */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.auth-form input:focus {
  outline: none;
  border-color: #999;
}

/* ===== ボタン ===== */
.auth-submit {
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auth-submit:hover {
  opacity: 0.9;
}

/* ===== ナビ ===== */
.auth-links {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
}

.auth-links a {
  color: #0066cc;
}

.auth-links a:hover {
  text-decoration: underline;
}

/* ===== エラー ===== */
.auth-error {
  background: #fff1f1;
  border: 1px solid #ffd6d6;
  color: #b00000;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}


/* ===== パスワード条件ヒント ===== */

.username-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}


.password-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}


