/* ── Shared auth page styles ─────────────────────────────────────────────── */
:root {
  --deep: #0a1628; --rink: #0d2b4e; --steel: #2d7dd2;
  --accent: #e8323c; --muted: #6b8cae; --line: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--deep); color: #d0dce8;
  font-family: 'Barlow', sans-serif; font-weight: 300;
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.012) 60px, rgba(255,255,255,0.012) 61px),
    radial-gradient(ellipse 100% 50% at 50% 0%, rgba(13,43,78,0.9) 0%, var(--deep) 60%);
  pointer-events: none; z-index: 0;
}

.auth-box {
  position: relative; z-index: 10;
  width: 100%; max-width: 420px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 40px;
}

.auth-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 22px;
  color: white; text-transform: uppercase; letter-spacing: 0.05em;
  text-align: center; margin-bottom: 28px; text-decoration: none; display: block;
}
.auth-logo span { color: var(--accent); }

.auth-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: white; margin-bottom: 4px;
}
.auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 28px; }

label {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--muted); font-weight: 500; margin-bottom: 7px;
}

input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 3px;
  padding: 12px 14px; color: white;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 300;
  outline: none; transition: border-color 0.2s; margin-bottom: 16px;
}
input:focus { border-color: var(--steel); }
input::placeholder { color: rgba(107,140,174,0.5); }

.btn {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 13px 24px; border-radius: 3px; border: none;
  cursor: pointer; width: 100%; transition: all 0.15s; display: block; text-align: center;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #c8282f; }
.btn-primary:disabled { background: rgba(232,50,60,0.35); cursor: not-allowed; }

.auth-footer {
  text-align: center; margin-top: 20px;
  font-size: 13px; color: var(--muted);
}
.auth-footer a { color: var(--steel); text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

.error-msg {
  background: rgba(232,50,60,0.12); border: 1px solid rgba(232,50,60,0.3);
  color: #f08080; padding: 10px 14px; border-radius: 3px;
  font-size: 13px; margin-bottom: 16px; display: none;
}
.error-msg.show { display: block; }

.success-msg {
  background: rgba(26,122,78,0.12); border: 1px solid rgba(26,122,78,0.3);
  color: #6ddba4; padding: 10px 14px; border-radius: 3px;
  font-size: 13px; margin-bottom: 16px; display: none;
}
.success-msg.show { display: block; }

.divider { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
