/* ===== AUTH SHARED STYLES ===== */
/* Styles shared between login, payment, and admin pages */

/* Auth page body centering */
.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* Auth card base */
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 32px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.08), 0 0 80px rgba(139, 92, 246, 0.05);
}

/* Auth header brand */
.auth-brand h1 {
  font-family: 'Orbitron', monospace;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 4px;
}

.auth-brand p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 24px;
}

/* Auth inputs */
.auth-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  margin-bottom: 14px;
}

.auth-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}

.auth-input::placeholder {
  color: var(--text-dim);
}

/* Auth labels */
.auth-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  color: var(--cyan-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

/* Auth buttons */
.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.auth-btn-cyan {
  background: linear-gradient(135deg, var(--cyan-dim), #0088a3);
  color: #fff;
}

.auth-btn-cyan:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

.auth-btn-magenta {
  background: linear-gradient(135deg, var(--magenta-dim), #880055);
  color: #fff;
}

.auth-btn-magenta:hover {
  box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
  transform: translateY(-1px);
}

.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Message display */
.auth-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  animation: fadeIn 0.3s ease;
}

.auth-message.error {
  display: block;
  background: rgba(255, 51, 85, 0.1);
  border: 1px solid rgba(255, 51, 85, 0.3);
  color: var(--red);
}

.auth-message.success {
  display: block;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  color: var(--green);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Auth index.html nav button additions */
#userDisplay {
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  align-self: center;
}

/* Responsive */
@media (max-width: 480px) {
  .auth-card {
    padding: 24px 20px;
  }
  .auth-brand h1 {
    font-size: 18px;
  }
}
