:root {
  --password-reset-ink: #172536;
  --password-reset-muted: #657187;
  --password-reset-border: #c8cfd8;
  --password-reset-red: #ed1c24;
  --password-reset-red-hover: #d8171e;
  --password-reset-page: #f6f8fa;
  --password-reset-visual: #fff7f7;
  --password-reset-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body.powermi-password-reset-redesign {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--password-reset-page);
  color: var(--password-reset-ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.powermi-password-reset-redesign .l-page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 100px minmax(0, 1fr) 82px;
}

.powermi-password-reset-redesign .l-page::before {
  content: "";
  grid-row: 1;
  border-bottom: 1px solid #dfe3e8;
  background: var(--password-reset-white);
  box-shadow: 0 1px 3px rgb(23 37 54 / 5%);
}

.powermi-password-reset-redesign .l-page::after {
  content: attr(data-pm-password-reset-help);
  position: absolute;
  z-index: 2;
  top: 39px;
  right: max(45px, calc((100vw - 1491px) / 2 + 45px));
  min-height: 26px;
  padding-left: 37px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='27' height='27' viewBox='0 0 24 24' fill='none' stroke='%23172536' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.4 9a2.8 2.8 0 1 1 4.7 2c-1.2 1-2.1 1.5-2.1 3'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
  background-position: left center;
  background-repeat: no-repeat;
  color: var(--password-reset-ink);
  font-size: 19px;
  line-height: 27px;
  white-space: nowrap;
}

.powermi-password-reset-redesign .panel-pane.pane-page-content,
.powermi-password-reset-redesign form.user-pass {
  display: contents;
}

.powermi-password-reset-redesign #user-pass > div {
  display: grid;
  grid-row: 2;
  grid-template-columns: minmax(0, 40.5%) minmax(0, 59.5%);
  width: min(1196px, calc(100vw - 96px));
  height: 740px;
  min-height: 0;
  margin: auto;
  overflow: hidden;
  border: 1px solid #d6dbe1;
  border-top: 7px solid var(--password-reset-red);
  border-radius: 11px;
  background: var(--password-reset-white);
  box-shadow: 0 3px 9px rgb(23 37 54 / 9%);
}

.powermi-password-reset-redesign #user-pass > div::after {
  content: none;
  display: none;
}

.powermi-password-reset-redesign #user-pass > div #background-img.powermi {
  position: relative;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border-right: 1px solid #d6dbe1;
  background-color: var(--password-reset-visual);
  background-image: url("/powermi-login-redesign/security-it-shield.png");
  background-position: center 41%;
  background-repeat: no-repeat;
  background-size: min(75%, 364px) auto;
  float: none;
  justify-self: stretch;
}

.powermi-password-reset-redesign #user-pass > div #background-img.powermi::before {
  content: attr(data-pm-password-reset-secure-access);
  position: absolute;
  right: 30px;
  bottom: 143px;
  left: 30px;
  color: var(--password-reset-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.powermi-password-reset-redesign #user-pass > div #background-img.powermi::after {
  content: none;
  display: none;
}

.powermi-password-reset-redesign #user-pass > div .side-block {
  display: flex;
  box-sizing: border-box;
  width: 100% !important;
  max-width: none;
  min-width: 0;
  margin: 0 !important;
  padding: 65px 99px 47px 107px;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  background: var(--password-reset-white);
  float: none;
}

.powermi-password-reset-redesign #user-pass > div .side-block::before {
  content: attr(data-pm-password-reset-title);
  display: block;
  margin: 0 0 5px;
  color: var(--password-reset-ink);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.35;
}

.powermi-password-reset-redesign #user-pass > div .content-wrapper,
.powermi-password-reset-redesign #user-pass > div .main {
  width: 100%;
}

.powermi-password-reset-redesign #user-pass > div .content-wrapper {
  display: block;
  max-width: none;
  height: auto;
  margin: 0;
  padding: 0;
}

.powermi-password-reset-redesign #user-pass > div .main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.powermi-password-reset-redesign #user-pass > div .main > a:first-of-type {
  position: absolute;
  z-index: 2;
  top: 13px;
  left: max(28px, calc((100vw - 1491px) / 2 + 28px));
  display: block;
  width: 312px;
  height: 67px;
}

.powermi-password-reset-redesign #user-pass > div .main > a:first-of-type .logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.powermi-password-reset-redesign #user-pass > div .main::before {
  content: attr(data-pm-password-reset-description);
  display: block;
  margin: 0 0 43px;
  color: var(--password-reset-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
}

.powermi-password-reset-redesign .messages {
  order: -1;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #f0a1a5;
  border-radius: 5px;
  background: #fff1f2;
  color: #8f1117;
  font-size: 14px;
  line-height: 1.4;
}

.powermi-password-reset-redesign .messages ul {
  margin: 0;
  padding-left: 20px;
}

.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 0 38px;
  flex-direction: column;
}

.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item label,
.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item label.active {
  position: static !important;
  top: auto !important;
  left: auto !important;
  order: 1;
  width: auto;
  height: auto;
  margin: 0 0 11px;
  color: var(--password-reset-ink) !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  transform: none;
}

.powermi-password-reset-redesign .form-required {
  color: var(--password-reset-red);
}

.powermi-password-reset-redesign #user-pass > div .form-item input.form-text {
  order: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  height: 48px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid var(--password-reset-border);
  border-radius: 5px;
  outline: none;
  background: var(--password-reset-white);
  box-shadow: none;
  color: var(--password-reset-ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.powermi-password-reset-redesign #user-pass > div .form-item input.form-text:focus {
  border-color: #66788d;
  box-shadow: 0 0 0 3px rgb(102 120 141 / 14%);
}

.powermi-password-reset-redesign #user-pass > div .form-item input.form-text::placeholder {
  color: #8a94a6;
  opacity: 1;
}

.powermi-password-reset-redesign #user-pass > div .form-item input.form-text:disabled {
  background: #f5f6f8;
  color: #5a6575;
  cursor: not-allowed;
}

.powermi-password-reset-redesign .form-item .description {
  display: none;
}

.powermi-password-reset-redesign .links {
  display: flex;
  margin: 0 0 67px;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.powermi-password-reset-redesign .links a {
  color: #0866d9;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.powermi-password-reset-redesign .links a:hover,
.powermi-password-reset-redesign .links a:focus-visible {
  color: #064da4;
}

.powermi-password-reset-redesign .form-actions {
  margin: 0;
}

.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-actions #edit-submit.form-submit {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  margin: 0;
  border: 0;
  border-radius: 5px;
  background: var(--password-reset-red) !important;
  box-shadow: none;
  color: var(--password-reset-white) !important;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background-color 120ms ease;
}

.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-actions #edit-submit.form-submit:hover,
.powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-actions #edit-submit.form-submit:focus-visible {
  background: var(--password-reset-red-hover) !important;
}

.powermi-password-reset-redesign #user-pass > div .copyright {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 122px;
  align-items: center;
  justify-content: center;
  color: var(--password-reset-ink);
  font-size: 15px;
}

.powermi-password-reset-redesign #user-pass > div .copyright p {
  margin: 0;
}

.powermi-password-reset-redesign #user-pass > div .copyright a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 1260px) {
  .powermi-password-reset-redesign #user-pass > div {
    width: calc(100vw - 56px);
    height: 680px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block {
    padding: 46px 64px;
  }

  .powermi-password-reset-redesign #user-pass > div #background-img.powermi::before {
    bottom: 116px;
  }

  .powermi-password-reset-redesign #user-pass > div .main::before {
    margin-bottom: 30px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item {
    margin-bottom: 28px;
  }

  .powermi-password-reset-redesign .links {
    gap: 17px;
    margin-bottom: 30px;
  }
}

@media (max-width: 900px) {
  .powermi-password-reset-redesign .l-page {
    grid-template-rows: 84px minmax(0, 1fr) 68px;
  }

  .powermi-password-reset-redesign .l-page::after {
    top: 29px;
    right: 24px;
    font-size: 16px;
  }

  .powermi-password-reset-redesign #user-pass > div .main > a:first-of-type {
    top: 14px;
    left: 24px;
    width: 230px;
    height: 55px;
  }

  .powermi-password-reset-redesign #user-pass > div {
    grid-template-columns: minmax(0, 38%) minmax(0, 62%);
    width: calc(100vw - 40px);
    height: 610px;
    margin: 28px auto;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block {
    padding: 34px 42px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block::before {
    font-size: 27px;
  }

  .powermi-password-reset-redesign #user-pass > div .main::before {
    margin-bottom: 25px;
    font-size: 16px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item {
    margin-bottom: 24px;
  }

  .powermi-password-reset-redesign .links {
    gap: 14px;
    margin-bottom: 25px;
  }

  .powermi-password-reset-redesign #user-pass > div .copyright {
    height: 68px;
  }
}

@media (max-width: 700px) {
  .powermi-password-reset-redesign .l-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
  }

  .powermi-password-reset-redesign .l-page::before {
    flex: 0 0 76px;
  }

  .powermi-password-reset-redesign .l-page::after {
    content: "";
    top: 26px;
    right: 20px;
    width: 25px;
    height: 25px;
    min-height: 0;
    padding-left: 0;
  }

  .powermi-password-reset-redesign #user-pass > div {
    display: grid;
    width: calc(100vw - 28px);
    height: auto;
    min-height: 0;
    margin: 22px auto 28px;
    flex: 0 0 auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .powermi-password-reset-redesign #user-pass > div .main > a:first-of-type {
    top: 12px;
    left: 18px;
    width: 200px;
    height: 52px;
  }

  .powermi-password-reset-redesign #user-pass > div #background-img.powermi {
    min-height: 244px;
    border-right: 0;
    border-bottom: 1px solid #d6dbe1;
    background-position: center 16px;
    background-size: 200px auto;
  }

  .powermi-password-reset-redesign #user-pass > div #background-img.powermi::before {
    bottom: 22px;
    font-size: 22px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block {
    padding: 34px 24px 38px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block::before {
    font-size: 29px;
  }

  .powermi-password-reset-redesign #user-pass > div .main::before {
    margin-bottom: 27px;
    font-size: 16px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-item {
    margin-bottom: 27px;
  }

  .powermi-password-reset-redesign #user-pass > div .form-item input.form-text,
  .powermi-password-reset-redesign #user-pass > div .side-block .content-wrapper .main .form-actions #edit-submit.form-submit {
    height: 56px;
    font-size: 16px;
  }

  .powermi-password-reset-redesign .links {
    gap: 16px;
    margin-bottom: 28px;
  }

  .powermi-password-reset-redesign #user-pass > div .copyright {
    position: static;
    height: 68px;
    flex: 0 0 68px;
  }
}

@media (max-width: 390px) {
  .powermi-password-reset-redesign #user-pass > div #background-img.powermi {
    min-height: 218px;
    background-position: center 13px;
    background-size: 174px auto;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block {
    padding-right: 18px;
    padding-left: 18px;
  }

  .powermi-password-reset-redesign #user-pass > div .side-block::before {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .powermi-password-reset-redesign * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
