/* Recovery dialog only. Existing menu, photo and other popup rules stay independent. */
#fileo-password-recovery.popup-password {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: calc(100% - 32px);
  max-width: 360px;
  height: auto;
  min-height: 0;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 24px;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 2px;
  background: #fff;
  color: #262626;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}
#fileo-password-recovery .popup-password-wrap {
  width: 100%;
  margin: 0;
}
#fileo-password-recovery h2 {
  margin: 0 28px 10px 0;
  padding: 0;
  color: #262626;
  font: 500 20px/1.3 Montserrat, sans-serif;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
#fileo-password-recovery #fileo-recovery-description {
  margin: 0 0 16px;
  text-align: left;
  color: #626262;
  font: 400 14px/1.45 Onest, sans-serif;
}
#fileo-password-recovery form { margin: 0; padding: 0; }
#fileo-password-recovery label {
  display: block;
  margin: 0 0 6px;
  font: 400 13px/1.4 Onest, sans-serif;
}
#fileo-password-recovery .input {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  border: 1px solid #c7c7c7;
  border-radius: 2px;
  background: #fff;
  color: #262626;
  font: 400 16px/1.4 Onest, sans-serif;
  text-transform: none;
}
#fileo-password-recovery .input::placeholder { color: #838383; opacity: 1; }
#fileo-password-recovery .fileo-recovery-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid #8c2227;
  border-radius: 2px;
  background: #8c2227;
  color: #fff;
  font: 500 13px/1.4 Montserrat, sans-serif;
  text-transform: none;
  cursor: pointer;
}
#fileo-password-recovery .fileo-recovery-submit:hover { background: #741c21; border-color: #741c21; }
#fileo-password-recovery .fileo-recovery-submit:disabled { opacity: .65; cursor: wait; }
#fileo-password-recovery .fileo-recovery-status {
  margin: 12px 0 0;
  text-align: left;
  color: #8c2227;
  font: 400 14px/1.45 Onest, sans-serif;
}
#fileo-password-recovery .fileo-recovery-status[hidden] { display: none; }
#fileo-password-recovery .fileo-recovery-status[data-success="true"] { color: #305941; }
#fileo-password-recovery .popup-close-button {
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#fileo-password-recovery .popup-close-button::before,
#fileo-password-recovery .popup-close-button::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 10px;
  width: 20px;
  height: 1px;
  background: #626262;
  transform: rotate(45deg);
}
#fileo-password-recovery .popup-close-button::after { transform: rotate(-45deg); }
#fileo-password-recovery input:focus-visible,
#fileo-password-recovery button:focus-visible { outline: 2px solid #8c2227; outline-offset: 3px; }
@media (max-width: 400px) {
  #fileo-password-recovery.popup-password { padding: 20px; }
  #fileo-password-recovery h2 { font-size: 19px; }
}
