/* =====================================================
   ECOMEDGE - Auth Pages CSS (Login / Signup)
===================================================== */

body.auth-page {
  background: var(--gray-50);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

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

/* ── LEFT PANEL ── */
.auth-left {
  background: linear-gradient(145deg, var(--secondary) 0%, #1a3a7a 60%, var(--primary-dark) 100%);
  padding: 48px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,198,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,107,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.auth-brand { margin-bottom: 60px; position: relative; z-index: 1; }

.auth-left-content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.auth-left-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
}

.auth-left-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
}

.auth-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  backdrop-filter: blur(8px);
}

.auth-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  font-weight: 600;
}

.step.active { color: var(--accent); }

.step span {
  width: 28px; height: 28px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step.active span {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--secondary);
}

.step-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 0 12px;
}

/* ── RIGHT PANEL ── */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: white;
}

.auth-form-wrap {
  width: 100%;
  max-width: 420px;
}

.auth-form-wrap h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.auth-sub {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 28px;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-500);
}

.auth-switch a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover { text-decoration: underline; }

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap input {
  padding-right: 44px;
}

.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.eye-btn:hover { opacity: 1; }

.pending-box {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.pending-box .pending-icon { font-size: 48px; margin-bottom: 12px; }
.pending-box h3 { font-size: 18px; font-weight: 700; color: #92400e; margin-bottom: 8px; }
.pending-box p { font-size: 14px; color: #b45309; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 32px 24px; }
}
