/* Login page specific styles moved from inline attributes in LoginPage.php */

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.hidden-password {
  filter: invert(1);
}

.msg-processing {
  color: blue !important;
}

.msg-success {
  color: green !important;
}

.msg-error {
  color: red !important;
}

.preciso-login-hero {
  height: calc(100vh - 40px);
  background-size: 906px;
  background-color: #fff;
  background-position: center top;
  background-repeat: repeat-x;
  background-image: url("../images/loginbanner-preciso.jpg");
}

#forgotModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

#forgotModal.show {
  display: block !important;
}

/* Modal content box */
.forgot-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 400px;
  max-width: 90%;
  position: relative;
}

#closeModalIcon,
#closeModalIcon:hover {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 24px;
  color: #666;
}

/* Step visibility states */
#step1 {
  display: block;
}

#step1.hidden {
  display: none !important;
}

#step2 {
  display: none;
}

#step2.hidden {
  display: none !important;
}

#step2.show {
  display: block !important;
}

#backStep {
  display: none;
}

#backStep.show {
  display: inline !important;
}

/* Password toggle icons (initial images) */
.toggle-password-icon,
.toggle-forgot-password-icon {
  width: 1.25rem;
  height: 1.25rem;
  opacity: 0.7;
  cursor: pointer;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.toggle-password-icon {
  background-image: url("../images/visible.png");
}
.toggle-forgot-password-icon {
  background-image: url("../images/visible.png");
}
