/* CGONFLÉ974 — inscription : chargement et icône du mot de passe. */
.cg974-account-page .cg974-account-main--access .show-password-input {
  display: block;
  width: 40px;
  height: 40px;
  right: 8px;
  top: 50%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #516784;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c5.2 0 8.6 5 9.6 7-1 2-4.4 7-9.6 7s-8.6-5-9.6-7c1-2 4.4-7 9.6-7Zm0 2c-3.6 0-6.3 3.2-7.3 5 1 1.8 3.7 5 7.3 5s6.3-3.2 7.3-5c-1-1.8-3.7-5-7.3-5Zm0 1.5A3.5 3.5 0 1 1 12 15.5 3.5 3.5 0 0 1 12 8.5Zm0 2A1.5 1.5 0 1 0 12 13.5 1.5 1.5 0 0 0 12 10.5Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5c5.2 0 8.6 5 9.6 7-1 2-4.4 7-9.6 7s-8.6-5-9.6-7c1-2 4.4-7 9.6-7Zm0 2c-3.6 0-6.3 3.2-7.3 5 1 1.8 3.7 5 7.3 5s6.3-3.2 7.3-5c-1-1.8-3.7-5-7.3-5Zm0 1.5A3.5 3.5 0 1 1 12 15.5 3.5 3.5 0 0 1 12 8.5Zm0 2A1.5 1.5 0 1 0 12 13.5 1.5 1.5 0 0 0 12 10.5Z'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
  transform: translateY(-50%);
}

/* WooCommerce et Edge ne doivent pas ajouter un second œil par-dessus. */
.cg974-account-page .cg974-account-main--access .show-password-input::before,
.cg974-account-page .cg974-account-main--access .show-password-input::after {
  display: none !important;
  content: none !important;
}

.cg974-account-page .cg974-account-main--access input[type="password"]::-ms-reveal,
.cg974-account-page .cg974-account-main--access input[type="password"]::-ms-clear {
  display: none;
}

.cg974-account-page .cg974-account-main--access .show-password-input:hover,
.cg974-account-page .cg974-account-main--access .show-password-input:focus-visible {
  background-color: #07588a;
}

.cg974-account-page .cg974-account-main--access .show-password-input:focus-visible {
  outline: 3px solid rgba(255, 201, 40, 0.5);
  outline-offset: 1px;
}

.cg974-account-page .woocommerce-form-register.cg974-registration-submitting
.woocommerce-form-register__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
  cursor: wait;
  opacity: 0.86;
}

.cg974-account-page .woocommerce-form-register.cg974-registration-submitting
.woocommerce-form-register__submit::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(7, 88, 138, 0.25);
  border-top-color: #07588a;
  border-radius: 50%;
  animation: cg974-register-spinner 700ms linear infinite;
}

@keyframes cg974-register-spinner {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cg974-account-page .woocommerce-form-register.cg974-registration-submitting
  .woocommerce-form-register__submit::before {
    animation: none;
  }
}
