/* =====================================================
   SH6 — LOGIN FORM
   ===================================================== */

.sh6-login-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.sh6-login-card{
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 26px 30px;
  box-shadow: var(--shadow);
}

/* Titre */
.sh6-login-card h1{
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

/* Champs */
.sh6-login-field{
  margin-bottom: 16px;
}

.sh6-login-field label{
  display: block;
  margin-bottom: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-2);
}

.sh6-login-field input{
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.sh6-login-field input:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,118,173,.25);
}

/* Bouton */
.sh6-login-btn{
  margin-top: 10px;
  width: 100%;
  height: 48px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.sh6-login-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28,118,173,.35);
}

.sh6-login-btn:active{
  transform: translateY(0);
}

/* Dark mode — sécurité */
@media (prefers-color-scheme: dark){
  .sh6-login-card{
    background: var(--surface);
  }

  .sh6-login-field input{
    background: var(--surface-2);
  }
}
