.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px); /* compense la navbar */
  padding: 2rem;
  font-family: 'DM Sans', sans-serif;
}

.login-split {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 820px;
}

.login-panel {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Barre verticale centrale */
.login-divider {
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin: 3rem 0; /* ne prend pas toute la hauteur */
  flex-shrink: 0;
}

.login-title {
  font-size: 20px;
  font-weight: 500;
  color: #111;
  margin: 0 0 .35rem;
  letter-spacing: -0.02em;
}

.login-sub {
  font-size: 13px;
  color: #999;
  margin: 0 0 2rem;
}

/* Champs */
.login-form .field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 1rem;
}

.login-form label {
  font-size: 12px;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.04em;
}

.login-form input {
  height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #f9f9f9;
  color: #111;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 0 12px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.login-form input:focus {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fff;
}

/* Boutons */
.btn {
  margin-top: 1.25rem;
  width: 100%;
  height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  color: #111;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover { background: #f5f5f5; }

.btn-primary {
  background: #111;
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover { opacity: 0.85; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-username {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  letter-spacing: -0.01em;
}