:root {
  --g900: #0A2414;
  --g800: #133520;
  --g700: #1B5E38;
  --g500: #1B8A4C;
  --g400: #22A85E;
  --g300: #4DC97C;
  --g100: #D4F5E2;
  --gold: #C9A84C;
  --goldl: #F0D080;
  --cream: #F8F5EE;
  --td: #0D1A10;
  --tm: #3A5244;
  --tl: #8FA89A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.login-premium {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: var(--cream);
  height: 100vh;
  overflow: hidden;
}

.login-wrapper {
  display: flex;
  height: 100vh;
}

/* ── GAUCHE ─────────────────────────────────────────────── */
.login-left {
  flex: 1.1;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.login-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10,36,20,.82) 0%,
    rgba(19,53,32,.75) 50%,
    rgba(27,94,56,.6) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 48px;
}

.login-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--goldl);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
}

.login-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.login-headline span {
  background: linear-gradient(135deg, var(--g300), var(--goldl));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-sub {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
  max-width: 420px;
  margin-bottom: 40px;
}

.login-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.login-stat { display: flex; flex-direction: column; gap: 4px; }

.stat-n {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── DROITE ─────────────────────────────────────────────── */
.login-right {
  flex: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 40px 24px;
}

.login-card {
  width: 100%;
  max-width: 400px;
}

.login-logo-wrap {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  height: 160px;
  width: auto;
}

.login-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--g900);
  margin-bottom: 6px;
  text-align: center;
}

.login-desc {
  font-size: 13px;
  color: var(--tl);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Alert erreur */
.login-alert {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 3px solid #EF4444;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #B91C1C;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Champs */
.login-field {
  margin-bottom: 18px;
}

.login-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--tm);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.login-field label i {
  color: var(--g500);
  margin-right: 5px;
  font-size: 11px;
}

.login-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E2E8E4;
  border-radius: 10px;
  font-size: 14px;
  color: var(--td);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.login-field input:focus {
  border-color: var(--g500);
  box-shadow: 0 0 0 3px rgba(27,138,76,.1);
}

.login-field input::placeholder { color: #B0C4BB; }

/* Eye password */
.input-eye-wrap { position: relative; }

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

.eye-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--tl);
  font-size: 14px;
  padding: 4px;
  transition: color .2s;
}

.eye-btn:hover { color: var(--g500); }

/* Bouton */
.login-btn {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--g500), var(--g400));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Syne', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(27,138,76,.3);
  transition: all .2s;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27,138,76,.4);
}

.login-btn:active { transform: translateY(0); }

/* Footer */
.login-footer-text {
  text-align: center;
  font-size: 11px;
  color: var(--tl);
  margin-top: 28px;
}

/* Responsive */
@media (max-width: 768px) {
  .login-left { display: none; }
  .login-right { flex: 1; }
  .login-card { max-width: 100%; }
}

