/* ═══════════════════════════════════════════════════════════
   🔐 AUTH — Page de connexion GestoStock
   ═══════════════════════════════════════════════════════════ */
.auth-body { background: var(--bg); }
.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* ═══ PANNEAU GAUCHE — Dégradé bleu business ═══ */
.auth-left {
  background: linear-gradient(135deg, #1E3A8A 0%, #172554 100%);
  color: var(--white);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.auth-left::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* ═══ BRAND (logo + titre) ═══ */
.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}
.auth-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.30);
}
.auth-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-brand h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1.2px;
  margin-bottom: 8px;
  line-height: 1.15;
  color: #fff;
}
.auth-brand p {
  font-size: 14px;
  opacity: 0.75;
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) {
  .auth-logo {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    padding: 8px;
  }
  .auth-brand h1 { font-size: 24px; }
  .auth-brand { gap: 14px; margin-bottom: 36px; }
}

/* ═══ FEATURES ═══ */
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
}
.feature-icon {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature-icon .icon { color: var(--white); width: 18px; height: 18px; }

/* ═══ PANNEAU DROIT — Formulaire ═══ */
.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--white);
}
.auth-form { width: 100%; max-width: 380px; }
.auth-form h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.9px;
  color: var(--ink);
}
.auth-subtitle {
  color: var(--stone);
  font-size: 14px;
  margin-bottom: 32px;
  font-weight: 500;
}
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 46px; }
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mist);
  padding: 6px;
  display: flex;
  border-radius: 8px;
  transition: var(--transition);
}
.toggle-password:hover {
  color: #1E3A8A;
  background: var(--navy-light);
}
.auth-footer {
  margin-top: 30px;
  text-align: center;
  font-size: 12px;
  color: var(--mist);
  font-weight: 500;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .auth-container { grid-template-columns: 1fr; }
  .auth-left { display: none; }
}