/* ============================================================
   AUTH PAGES — Login, Register, Forgot Password
   ============================================================ */

.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative; z-index: 2;
}

.auth-card {
  width: 100%; max-width: 460px;
  background: rgba(13,31,60,0.5);
  border: 1px solid rgba(212,168,67,0.12);
  border-radius: 24px; padding: 48px 40px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 32px 100px rgba(0,0,0,0.5), 0 0 80px rgba(212,168,67,0.06);
  position: relative; overflow: hidden;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.auth-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 36px; text-decoration: none;
}
.auth-logo-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: 0 4px 20px rgba(212,168,67,0.45);
}
.auth-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
}
.auth-logo-text span { color: var(--gold); }

.auth-title {
  text-align: center; margin-bottom: 8px;
  font-size: 1.5rem; font-weight: 700;
}
.auth-subtitle {
  text-align: center; color: var(--muted); font-size: 0.92rem;
  margin-bottom: 32px; line-height: 1.6;
}

.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 24px 0; color: var(--muted); font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.auth-footer {
  text-align: center; margin-top: 28px;
  font-size: 0.88rem; color: var(--muted);
}
.auth-footer a { color: var(--gold); font-weight: 600; }
.auth-footer a:hover { color: var(--gold-light); }

.auth-back {
  position: absolute; top: 20px; left: 20px;
  color: var(--muted); font-size: 0.85rem; display: flex; align-items: center; gap: 6px;
  text-decoration: none; transition: var(--transition);
}
.auth-back:hover { color: var(--ice); }

/* Password toggle */
.password-wrap {
  position: relative;
}
.password-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 1.1rem; transition: var(--transition); padding: 4px;
}
.password-toggle:hover { color: var(--ice); }

/* Checkbox */
.auth-checkbox {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px; cursor: pointer; font-size: 0.88rem; color: var(--muted);
}
.auth-checkbox input[type="checkbox"] {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1px solid var(--border); background: var(--glass-light);
  cursor: pointer; accent-color: var(--gold);
}

@media (max-width: 480px) {
  .auth-card { padding: 32px 24px; border-radius: 20px; }
  .auth-title { font-size: 1.3rem; }
}
