/* Sign-in / register pages. Base palette comes from header.css variables,
   which mirror the site's own :root values. */
:root {
  --bg: #ffffff; --bg2: #f5f6f8; --border: #dde1e7;
  --text: #1a1d23; --text2: #4a5060; --text3: #7a8090;
  --blue: #2563b0; --blue-light: #e8f0fb; --red: #b92c2c;
  --gold: #8a6e1e; --gold-bg: #fdf6e3;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 36px 20px 60px; }
.auth-card { border: 1px solid var(--border); border-radius: 10px; padding: 26px 26px 20px; background: #fff; }
.auth-card h1 { font-family: 'Source Serif 4', serif; font-weight: 600; font-size: 27px; margin: 0 0 6px; }
.auth-sub { color: var(--text2); font-size: 14.5px; margin: 0 0 18px; }
.auth-card label { display: block; font-size: 13.5px; font-weight: 500; color: var(--text2); margin-bottom: 14px; }
.auth-card input[type="text"], .auth-card input[type="email"], .auth-card input[type="password"] {
  display: block; width: 100%; margin-top: 5px; padding: 10px 12px; font-size: 15px;
  font-family: 'Inter', sans-serif; border: 1px solid var(--border); border-radius: 6px; background: #fff; color: var(--text);
}
.auth-card input:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }
.auth-go {
  background: var(--blue); color: #fff; border: none; font-weight: 600; font-size: 15px;
  padding: 10px 22px; border-radius: 18px; cursor: pointer; font-family: 'Inter', sans-serif; width: 100%;
}
.auth-go:hover { opacity: 0.92; }
.auth-errors { background: #fdeeee; border: 1px solid var(--red); border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.auth-errors p { margin: 3px 0; font-size: 13.5px; color: var(--red); }
.auth-alt { font-size: 14px; color: var(--text2); margin-top: 16px; text-align: center; }
.auth-alt a { color: var(--blue); text-decoration: none; font-weight: 500; }
