/* css/auth.css - Login / Register */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-box {
  width: 100%;
  max-width: 400px;
}
.auth-box .brand {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}
.auth-box .card { padding: 28px; }
.auth-box h1 { font-size: 20px; margin: 0 0 4px; }
.auth-box .subtitle { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.auth-box .btn { width: 100%; margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.username-check { font-size: 12px; margin-top: 4px; min-height: 16px; }
.username-check.available { color: var(--success); }
.username-check.taken { color: var(--danger); }

/* Registration consent */
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 13.5px; color: var(--text-muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.consent a { color: var(--accent); text-decoration: underline; }
.auth-box .consent + .btn, .auth-box .consent:last-of-type { margin-bottom: 14px; }

/* Discord sign-in */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--muted, #8a8f98);
  font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border, #2a2f36);
}
.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-discord:hover { background: #4752c4; }
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-google:hover { background: #f1f3f4; }
.btn-google:disabled { opacity: 0.6; cursor: not-allowed; }
