/* ── AUTH SCREEN ── */
#auth-screen {
  display: none;
  min-height: 100vh;
}
#auth-screen.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Panneau gauche — marque */
.auth-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F5F4F1;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.auth-brand::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 1px;
  background: #E5E3DC;
}
.auth-brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.auth-brand-logo img {
  width: 160px;
  height: auto;
}
.auth-brand-tagline {
  margin-top: 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #888;
  text-align: center;
  letter-spacing: .3px;
}
.auth-brand-tagline span {
  color: #E11709;
  font-weight: 600;
}

/* Panneau droit — formulaire */
.auth-form-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  padding: 60px 64px;
}
.auth-title {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 6px;
}
.auth-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #888;
  margin-bottom: 36px;
  font-weight: 400;
}
.auth-field { margin-bottom: 18px; }
.auth-field-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  display: block;
  margin-bottom: 8px;
}
.auth-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E5E3DC;
  border-radius: 10px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  color: #1A1A1A;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.auth-input::placeholder { color: #bbb; }
.auth-input:focus {
  border-color: #E11709;
  box-shadow: 0 0 0 3px rgba(225,23,9,.10);
}
.auth-btn-login {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  background: #E11709;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.auth-btn-login:hover {
  background: #c01507;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(225,23,9,.25);
}
.auth-btn-login:active { transform: translateY(0); }
.auth-error {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #E11709;
  margin-bottom: 8px;
  min-height: 18px;
}
.auth-footer-note {
  margin-top: 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #bbb;
  text-align: center;
}

@media (max-width: 768px) {
  #auth-screen.active { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-form-area { padding: 48px 28px; justify-content: flex-start; padding-top: 80px; }
  .auth-mobile-logo {
    display: flex !important;
    justify-content: center;
    margin-bottom: 36px;
  }
  .auth-mobile-logo img { width: 100px; }
}
.auth-mobile-logo { display: none; }

.auth-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 26px; }
.auth-center .logo-badge { width: 48px; height: 48px; border-radius: 12px; }
.auth-center .logo-badge svg { width: 26px; height: 26px; }
.auth-center .card-title { font-size: 20px; }
