.auth-page {
  padding-top: 72px;
  min-height: 100vh;
  display: flex;
}

.auth-layout {
  display: grid;
  grid-template-columns: 4fr 6fr;
  width: 100%;
  min-height: calc(100vh - 72px);
}

.auth-left {
  background: linear-gradient(135deg, #4A7CFF, #FF6B9D);
  position: relative;
  overflow: hidden;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
}

.auth-left .decorative-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.2;
}

.auth-left .orb-1 { width: 300px; height: 300px; background: white; top: -100px; left: -100px; }
.auth-left .orb-2 { width: 250px; height: 250px; background: rgba(255,255,255,0.5); bottom: -50px; right: -50px; }

.auth-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-left-logo img {
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

.auth-title-cursive {
  font-family: 'Dancing Script', cursive;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.auth-tagline {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.floating-emojis {
  display: flex;
  gap: 1.5rem;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.floating-emojis span {
  animation: orb-float 3s infinite ease-in-out;
}

.floating-emojis span:nth-child(1) { animation-delay: 0s; }
.floating-emojis span:nth-child(2) { animation-delay: 0.5s; }
.floating-emojis span:nth-child(3) { animation-delay: 1s; }
.floating-emojis span:nth-child(4) { animation-delay: 1.5s; }

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.auth-quote {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-top: auto;
}

.stars {
  color: #FFD700;
  margin-top: 0.5rem;
  letter-spacing: 2px;
}

.benefits-list {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  font-size: 1.1rem;
}
.benefits-list li {
  margin-bottom: 0.75rem;
}

.auth-right {
  background-color: #FFF8F0; /* var(--bg-primary) if defined */
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-form-card {
  max-width: 420px;
  width: 100%;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.auth-page-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 2rem;
}

.social-login-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.social-btn i {
  color: #555555;
}
.social-btn span {
  font-size: 0.95rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #888888;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.auth-divider::before { margin-right: .75em; }
.auth-divider::after { margin-left: .75em; }

.form-group {
  margin-bottom: 1.25rem;
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1a1a1a;
  background: white;
  transition: all 0.2s;
}

.auth-input:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px #4A7CFF;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888888;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-message {
  color: #FF6B9D;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: block;
  min-height: 1.2em;
}

.forgot-password {
  display: block;
  text-align: right;
  color: #4A7CFF;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.forgot-password:hover { text-decoration: underline; }

.auth-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #4A7CFF, #FF6B9D);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(74, 124, 255, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 255, 0.4);
}

.auth-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #555555;
}

.auth-footer-link a {
  color: #4A7CFF;
  text-decoration: none;
  font-weight: 600;
}
.auth-footer-link a:hover { text-decoration: underline; }

.password-strength-container {
  margin-top: 0.5rem;
}

.password-strength-bar {
  width: 100%;
  height: 4px;
  background: #E0E0E0;
  border-radius: 999px;
  overflow: hidden;
}

.password-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.password-strength-label {
  font-size: 0.8rem;
  color: #888888;
  margin-top: 0.25rem;
  text-align: right;
  display: block;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #4A7CFF;
}

.checkbox-group a {
  color: #4A7CFF;
  text-decoration: none;
}

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  color: #1a1a1a;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin { 
  100% { transform: rotate(360deg); } 
}

@media (max-width: 768px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-left {
    padding: 2rem 1.5rem;
    min-height: 200px;
    height: 200px;
  }
  .auth-left-logo img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  .auth-title-cursive {
    font-size: 2.25rem;
  }
  .auth-tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .floating-emojis {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  .auth-quote, .benefits-list {
    display: none;
  }
  .auth-right {
    padding: 1.5rem;
  }
  .auth-form-card {
    padding: 1.5rem;
  }
}
