/* ── auth.css ────────────────────────────────────────────────────────────────
   Shared styles for all standalone auth pages:
     login.html, forgot_password.html, register.html, reset_password.html, etc.
   No overlap with base.css — all auth-* classes are unique to these pages.
   ──────────────────────────────────────────────────────────────────────────── */

/* ── Page layout ─────────────────────────────────────────────────────────── */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ── Auth card ───────────────────────────────────────────────────────────── */
.auth-box {
  width: 100%;
  max-width: 400px;
  background: #1E2F42;
  border: 1px solid rgba(232,184,75,0.2);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: 40px 44px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo img {
  height: 56px;
  width: auto;
}

.auth-title {
  font-family: 'Oxanium', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

/* Subtitle / descriptive text below the title (forgot_password, register) */
.auth-sub {
  font-size: 0.82rem;
  color: var(--sand);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */
.auth-field {
  margin-bottom: 18px;
}
.auth-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  box-sizing: border-box;
  background: #0D1B2A;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  padding: 10px 14px;
  font-size: 0.92rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.18s;
}
.auth-field input:focus {
  border-color: var(--gold);
}

/* ── Submit button ───────────────────────────────────────────────────────── */
.auth-btn {
  width: 100%;
  background: var(--gold);
  color: #0D1B2A;
  border: none;
  padding: 12px;
  font-family: 'Oxanium', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.18s;
}
.auth-btn:hover {
  opacity: 0.88;
}

/* ── Feedback messages ───────────────────────────────────────────────────── */
.auth-error {
  background: rgba(224,92,92,0.12);
  border: 1px solid rgba(224,92,92,0.3);
  color: #E05C5C;
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  text-align: center;
}

/* auth-success (forgot_password) and auth-flash (login) are identical */
.auth-success,
.auth-flash {
  background: rgba(74,155,74,0.12);
  border: 1px solid rgba(74,155,74,0.3);
  color: #6abf6a;
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.6;
}

/* ── Bottom links ────────────────────────────────────────────────────────── */
.auth-links {
  text-align: center;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--sand);
}
.auth-links a {
  color: var(--gold);
  text-decoration: none;
}
.auth-links a:hover {
  text-decoration: underline;
}
