/* Auth Stylesheet - Pure Vanilla CSS */
:root {
  --auth-bg-dark: #0a0e17;
  --auth-card-bg: rgba(20, 26, 40, 0.65);
  --auth-border: rgba(255, 255, 255, 0.08);
  --auth-accent: #6b46c1;
  --auth-accent-glow: rgba(107, 70, 193, 0.5);
  --auth-text-primary: #ffffff;
  --auth-text-muted: #a0aec0;
  
  --font-premium: 'Outfit', sans-serif;
}

body.auth-page {
  margin: 0;
  min-height: 100vh;
  background: var(--auth-bg-dark);
  font-family: var(--font-premium);
  color: var(--auth-text-primary);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Atmospheric Glowing Orbs */
body.auth-page::before,
body.auth-page::after {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  animation: floatOrb 15s infinite alternate ease-in-out;
}

body.auth-page::before {
  top: -10vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(107, 70, 193, 0.15) 0%, rgba(20, 26, 40, 0) 70%);
}

body.auth-page::after {
  bottom: -15vw;
  right: -5vw;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.1) 0%, rgba(20, 26, 40, 0) 70%);
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Authentic Glassmorphism Card */
.auth-wrapper {
  width: 100%;
  max-width: 440px;
  padding: 2.5rem;
  background: var(--auth-card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--auth-border);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Typography Constraints */
.auth-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  background: linear-gradient(135deg, #fff 0%, #a0aec0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  text-align: center;
  color: var(--auth-text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Dynamic Float Label Inputs */
.auth-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.auth-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--auth-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--auth-text-primary);
  transition: all 0.3s ease;
  font-family: var(--font-premium);
  box-sizing: border-box;
}

.auth-input:focus {
  outline: none;
  border-color: var(--auth-accent);
  box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.15);
  background: rgba(0, 0, 0, 0.4);
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Form Actions */
.auth-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #6b46c1 0%, #4c1d95 100%);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-premium);
  cursor: pointer;
  box-shadow: 0 4px 15px var(--auth-accent-glow);
  margin-top: 0.5rem;
}



/* Links & Utilities */
.auth-links {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.auth-links a {
  color: var(--auth-text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 400;
}

.auth-links a:hover {
  color: #fff;
}

.auth-checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--auth-text-muted);
}

.auth-checkbox {
  appearance: none;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--auth-border);
  width: 18px;
  height: 18px;
  border-radius: 4px;
  margin-right: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.auth-checkbox:checked {
  background: var(--auth-accent);
  border-color: var(--auth-accent);
}

.auth-checkbox:checked::after {
  content: "✓";
  color: white;
  font-size: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
  padding: 0 1rem;
}

.auth-btn-google {
  background: white !important;
  color: #3c4043 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.auth-btn-google:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.google-icon {
  width: 18px;
  height: 18px;
}
