/* ELGHIS_PASSWORD_RESET_UI_12F */

.elghis-password-reset-trigger {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--elghis-primary, #177c82);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}

.elghis-password-reset-trigger:hover {
  opacity: .78;
}

.elghis-password-reset-trigger:active {
  transform: translateY(1px);
}

.elghis-reset-overlay {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 26, 39, .52);
  backdrop-filter: blur(5px);
}

.elghis-reset-overlay[hidden] {
  display: none !important;
}

.elghis-reset-dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 30px;
  border: 1px solid rgba(21, 62, 80, .10);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 24px 70px rgba(9, 33, 47, .22),
    0 4px 16px rgba(9, 33, 47, .08);
}

.elghis-reset-kicker {
  margin: 0 0 7px;
  color: var(--elghis-primary, #177c82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.elghis-reset-dialog h2 {
  margin: 0;
  color: #102b3b;
  font-size: 24px;
  line-height: 1.18;
}

.elghis-reset-copy {
  margin: 10px 0 22px;
  color: #637985;
  font-size: 14px;
  line-height: 1.55;
}

.elghis-reset-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f6;
  color: #526975;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.elghis-reset-field {
  margin-bottom: 16px;
}

.elghis-reset-field label {
  display: block;
  margin-bottom: 7px;
  color: #17384a;
  font-size: 13px;
  font-weight: 700;
}

.elghis-reset-field input {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #ccd9de;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #122f3f;
  font: inherit;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.elghis-reset-field input:focus {
  border-color: var(--elghis-primary, #177c82);
  box-shadow: 0 0 0 3px rgba(23, 124, 130, .12);
}

.elghis-reset-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0;
  border-radius: 11px;
  background: var(--elghis-primary, #177c82);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.elghis-reset-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.elghis-reset-secondary {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: #526975;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.elghis-reset-message {
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f3f7f8;
  color: #395966;
  font-size: 13px;
  line-height: 1.45;
}

.elghis-reset-message.is-error {
  background: #fff1f1;
  color: #9b3535;
}

.elghis-reset-success {
  padding: 8px 0 2px;
  text-align: center;
}

.elghis-reset-success-mark {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  place-items: center;
  border-radius: 50%;
  background: #e7f5f2;
  color: #15796f;
  font-size: 26px;
  font-weight: 800;
}

.elghis-reset-success h3 {
  margin: 0 0 8px;
  color: #102b3b;
  font-size: 21px;
}

.elghis-reset-success p {
  margin: 0 0 19px;
  color: #637985;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 540px) {
  .elghis-reset-overlay {
    padding: 14px;
  }

  .elghis-reset-dialog {
    padding: 26px 20px 22px;
    border-radius: 18px;
  }
}
