/* Auth Pages */
.auth-body {
  min-height: 100vh;
  background: var(--bg-light);
  display: flex;
  align-items: stretch;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  width: 100%;
}

/* Left Panel */
.auth-left {
  background: var(--gradient-hero);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  color: white;
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 60px;
  font-family: 'Poppins', sans-serif;
}
.auth-logo .logo-text { font-size: 1.3rem; font-weight: 800; color: white; }

.auth-left-content { flex: 1; }
.auth-left-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}
.auth-left-content > p { color: rgba(255,255,255,0.7); margin-bottom: 36px; }

.auth-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.auth-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #ffd166; }
.auth-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

.auth-testimonial {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,0.07);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}
.auth-testimonial p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 6px; font-style: italic; }
.auth-testimonial strong { font-size: 0.8rem; color: #ffd166; }

.auth-perks { margin-top: 20px; }
.auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.auth-perks i { color: #4ade80; font-size: 0.95rem; }

/* Right Panel */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: white;
  overflow-y: auto;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.auth-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.auth-sub a { color: var(--primary); font-weight: 600; }

.social-auth { margin-bottom: 20px; }
.social-btn {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text);
  transition: var(--transition);
}
.social-btn:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.social-btn .fab { font-size: 1.1rem; color: #ea4335; }

.divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.divider::before, .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 60px);
  height: 1px;
  background: var(--border);
}
.divider::before { left: 0; }
.divider::after { right: 0; }
.divider span {
  background: white;
  padding: 0 10px;
  position: relative;
}

/* Form */
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.forgot-link { font-weight: 500; color: var(--primary); font-size: 0.8rem; }
.forgot-link:hover { text-decoration: underline; }

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: white;
  transition: var(--transition);
}
.input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(92,59,254,0.08); }
.input-wrap i { color: var(--text-muted); font-size: 0.9rem; flex-shrink: 0; }
.input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text);
  background: none;
  font-family: 'Inter', sans-serif;
}
.input-wrap input::placeholder { color: #adb5bd; }

.country-code {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  padding-right: 10px;
  border-right: 1px solid var(--border);
  margin-right: 2px;
  flex-shrink: 0;
}

.toggle-pw {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0;
  flex-shrink: 0;
}
.toggle-pw:hover { color: var(--primary); }

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
  margin-top: 4px;
  border-radius: 10px;
}

.auth-terms {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
}
.auth-terms a { color: var(--primary); }

@media (max-width: 768px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 40px 20px; }
}
@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; }
}
