/* Pop de recuperar password */

.password-popup {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1000; 
    justify-content: center;
    align-items: center;
  }
  .password-popup-content {
    position: absolute;
    background-color: white;
    border-radius: 8px;
    width: 100%;
    max-width: 500px; 
    text-align: center; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .password-popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
  }
  .password-popup-content h2 {
    margin: 20px 0;
    padding-bottom: 20px;
    font-size: 18px;
    color: black;
    border-bottom: 1px solid #CCE2EE;
  }
  #resetPasswordForm {
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  #resetPasswordForm label {
    font-size: 14px;
    margin-bottom: 5px;
    color: black;
  }
  .email-wrapper{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    border-bottom: 1px solid #CCE2EE;
    padding: 0px 20px 20px 20px;
  }
  #email-recover{
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #B9CAD4;
    border-radius: 4px;
    font-size: 16px;
    color: black;
  }
  #email-recover:focus{
    border: 1px solid #006EAB;
    outline: none;
  }
  .just-btn{
    display: flex;
    justify-content: end;
    width: 100%;
    padding: 20px;
  }
  #resetPasswordForm button {
    padding: 14px 16px;
    background-color: #006EAB;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 550;
    transition: 0.3s ease;
  }
  
  #resetPasswordForm button:hover {
    background-color: #00365C;
  }

  #error-msg {
    margin-top: 10px;
    font-size: 14px;
    color: red;
    display: none;
  }
  
  .error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    display: none;
    margin-left: 20px;
  }
  
  .error-message-visible {
    display: block;
  }
  
  input.has-error {
    border-color: red;
  }
  
  .custom-alert-msg {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
    animation: fadeInOut 7s ease-in-out;
  }
  .custom-alert-msg.success-popup {
    background-color: #4caf50;
  }
  .custom-alert-msg.error-popup {
    background-color: #f44336;
  }
  
  @keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-20px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
  }


  /* Pagina de reset de password */

.reset-password-form{
  margin-top: 120px;
}
.reset-password-form h1 {
  color: #000;
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 24px;
}
label[for="edit-password"],
label[for="edit-confirm-password"] {
  font-size: 16px !important;
  font-weight: 550 !important;
  color: black;
}
#edit-password--description,
#edit-confirm-password--description{
  font-size: 14px;
}
.pw-wrapper .form-group.has-feedback{
  margin-bottom: 5px !important;
}
#edit-submit{
  color: white !important;
  background-color: #006EAB !important;
  padding: 10px !important;
  font-size: 16px !important;
  font-weight: 550 !important;
  border-radius: 5px !important;
  transition: 0.3s ease !important;
  border: 2px solid #006EAB;
}
#edit-submit:hover{
  background-color: #00365C !important;
  border-color: #00365C;
}
#edit-password,
#edit-confirm-password{
  border-radius: 5px !important;
  color: black;
  font-size: 16px;
  border: 1px solid #B9CAD4 !important;
}
#edit-password:focus,
#edit-confirm-password:focus{
  border: 1px solid #006EAB !important;
}
.pw-wrapper{
  position: relative;
}
.pw-wrapper .form-item-password input {
  padding-right: 40px; 
}
.pw-wrapper .password-toggle {
  position: absolute;
  right: 15px; 
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px; 
  color: #999; 
}
.pw-wrapper .password-toggle:hover {
  color: #333;
}

@media (max-width: 728px) {
  .reset-password-form{
    margin-top: 100px;
  }
}

@media (max-width: 335px) {
  .pw-wrapper .password-toggle{
    padding-bottom: 15px;
  }
}

@media (max-width: 387px) {
  .pw-wrapper .password-toggle{
    padding-bottom: 15px;
  }
}
