/* ======================================================
   NOVTINIS — PASSWORD EYE TOGGLE
   Stable 1.1 Lot 5
====================================================== */

.nt-password-field-wrapper {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

.nt-password-field-wrapper > input[type="password"],
.nt-password-field-wrapper > input[type="text"][data-nt-password-visible] {
  width: 100% !important;
  padding-right: 56px !important;
  box-sizing: border-box !important;
}

.nt-password-eye-toggle {
  position: absolute !important;
  top: 50% !important;
  right: 12px !important;
  z-index: 3 !important;
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.10) !important;
  color: rgba(226, 232, 240, 0.92) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

.nt-password-eye-toggle svg {
  width: 20px !important;
  height: 20px !important;
  display: block !important;
}

.nt-password-eye-toggle.is-visible {
  background: rgba(59, 130, 246, 0.22) !important;
  color: #ffffff !important;
  border-color: rgba(147, 197, 253, 0.34) !important;
}

.nt-password-eye-toggle:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.42) !important;
  outline-offset: 2px !important;
}

/* Pages auth claires/sombres : connexion, inscription, mot de passe */
.seva-reset-form .nt-password-field-wrapper,
.seva-auth-form .nt-password-field-wrapper,
.nt-identity-form .nt-password-field-wrapper {
  margin: 0 !important;
}

.seva-reset-form .nt-password-eye-toggle,
.seva-auth-form .nt-password-eye-toggle,
.nt-identity-form .nt-password-eye-toggle {
  right: 14px !important;
}

/* Micro-fix demandé sur le profil */
.nt-identity-form small {
  font-weight: 400 !important;
}

.nt-identity-form select {
  font-weight: 750 !important;
}

/* ======================================================
   NOVTINIS — UN SEUL BOUTON ŒIL
   Masque le contrôle de révélation natif ajouté par
   Microsoft Edge après saisie. Le bouton Novtinis reste
   le seul contrôle visible.
====================================================== */
.nt-password-field-wrapper > input::-ms-reveal,
.nt-password-field-wrapper > input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Cohérence d’alignement sur toutes les pages d’authentification. */
.seva-register-form .nt-password-field-wrapper,
.seva-login-form .nt-password-field-wrapper,
.seva-reset-form .nt-password-field-wrapper,
.seva-auth-form .nt-password-field-wrapper,
.nt-identity-form .nt-password-field-wrapper {
  margin: 0 !important;
}

.seva-register-form .nt-password-eye-toggle,
.seva-login-form .nt-password-eye-toggle,
.seva-reset-form .nt-password-eye-toggle,
.seva-auth-form .nt-password-eye-toggle,
.nt-identity-form .nt-password-eye-toggle {
  right: 14px !important;
}
