.text-center {
  text-align: center;
}

/* Popup styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 2em;
  margin: 10% auto;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  text-align: center;
}

.popup-button {
  display: block;
  margin: 1em 0;
  padding: 1em;
  background: #0074d9;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.popup-button:hover {
  background: #005fa3;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

/*pass reset*/
.page-user-reset-form #main-content {
  background-image: url(../images/background1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

.user-pass-reset {
  display: block;
  margin: 2em auto;
  text-align: center;
  padding: 2em;
  width: fit-content;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
}

.user-pass-reset .button {
  border-radius: 5px;
  padding: 0px 10px 2px 10px;
  box-shadow: 2px 2px 3px #000000;
  font-family: Montserrat;
  color: #ffffff;
  text-decoration: none;
  line-height: 24px;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: rgb(234, 135, 34);
  border: 1px solid rgb(234, 135, 34);
}


/*view password*/

.page-utilisateur-dashboard .password-wrapper {
  position: relative;
}

.page-utilisateur-dashboard .password-wrapper input.js-password-field,
.page-utilisateur-dashboard .password-wrapper input.js-password-confirm {
  position: relative;
   width: 100%;
  padding-right: 1em;
 
}

.page-utilisateur-dashboard .password-wrapper .shwpd {
  position: absolute;
  top: 0;
  right: -10px;
  transform: translateY(20%);
}

#drupal-modal #utilisateur-login-modal-form-wrapper .form-item-pass input{
  position:static !important;
  display:inline-block !important;
}

#edit-pass.js-form-type-password-confirm>label:first-child {
  display: none !important;
}

.form-item-pass-pass1,
.form-item-pass-pass2 {
  color: #0C2F55;
  font-family: "Roboto", Sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: block;
  text-transform: none;
  width: 100%;
}

.password-suggestions {
  color: #0C2F55;
  font-family: "Roboto", Sans-serif;
  font-size: 12px;
  font-weight: normal;
  display: block;
  text-transform: none;
  width: 100%;
  border: 1px solid rgb(234, 135, 34);
  padding: 1em;
  border-radius: 20px;
}
.page-utilisateur-dashboard .password-wrapper .password-strength {
  position: relative;
    margin-top: 0.25rem;
}
/*force du pwd*/
.password-strength:has(.password-strength__indicator.is-weak) .password-strength__text {
  color: red;
  font-weight: bold;
}
.password-strength:has(.password-strength__indicator.is-fair) .password-strength__text {
  color: rgb(234, 135, 34);
  font-weight: bold;
}
.password-strength:has(.password-strength__indicator.is-good) .password-strength__text {
  color: #2ba84b;
  font-weight: bold;
}
.password-strength:has(.password-strength__indicator.is-strong) .password-strength__text {
  color: #198754;
  font-weight: bold;
}

.password-strength__indicator {
  height: 100%;
  border-radius: 0.25rem;
  transition: width 0.3s ease, background 0.3s ease;
}
.password-strength__indicator.is-weak {
  background: linear-gradient(90deg, #f8d7da, #dc3545);
}
.password-strength__indicator.is-fair {
  background: linear-gradient(90deg, #fff3cd, #fd7e14);
}
.password-strength__indicator.is-good {
  background: linear-gradient(90deg, #d4edda, #2ba84b);
}
.password-strength__indicator.is-strong {
  background: linear-gradient(90deg, #c3e6cb, #198754);
}


/*form required fields*/
label.form-required::after,
h4.form-required::after {
  content: " *";
  color: rgb(234, 135, 34);
  font-size: 1em;
  opacity: 0.8;
  vertical-align: super; 
}
.required.error{
  border-color: #EA8722 !important;
  border-width: 2px !important;
}
/*throbber*/
/* .ajax-progress-throbber .throbber{
display:block;
  background: transparent url('../images/soappi.gif') no-repeat 0 center;
  width: 32px;    
  height: 32px;
} */