/* =========================================================================
   StarBase auth pages (login, register, forgot/reset password, etc.)
   Dark glass look matching the main site — self-contained, no dependency
   on the homepage's per-movie backdrop since there's no movie context here.
   ========================================================================= */

* { box-sizing: border-box; }

.auth-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(34,211,238,0.16) 0%, transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(34,211,238,0.08) 0%, transparent 70%),
    #05080d;
}

.auth-logo {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 22px;
  text-decoration: none;
}
.auth-logo .c-w { color: #fff; }
.auth-logo .c-b { color: #22d3ee; }
.auth-logo .gh-star { color: #7dd3fc; text-shadow: 0 0 10px #22d3ee, 0 0 20px #22d3ee; }

.auth-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 32px 30px;
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.6);
}

.auth-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 16px;
}

.auth-field { margin-bottom: 18px; }
.auth-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  padding: 11px 14px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.auth-input::placeholder { color: rgba(255,255,255,0.4); }
.auth-input:focus {
  border-color: rgba(34,211,238,0.6);
  background: rgba(255,255,255,0.09);
}

.auth-error-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  font-size: 0.78rem;
  color: #fb7185;
}

.auth-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.auth-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #22d3ee;
}

.auth-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.auth-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}
.auth-link:hover { color: #fff; }

.auth-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #22d3ee, #0891b2);
  color: #04141b;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 26px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 26px -6px rgba(34,211,238,0.5);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.auth-btn-primary:hover { box-shadow: 0 10px 32px -4px rgba(34,211,238,0.65); transform: translateY(-1px); }
.auth-btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }

.auth-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
}
.auth-btn-secondary:hover { background: rgba(255,255,255,0.1); }

.auth-footer-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.auth-footer-note a { color: #7dd3fc; text-decoration: none; font-weight: 600; }
.auth-footer-note a:hover { text-decoration: underline; }
