body#password #wrapper,
.page-password #wrapper {
  min-height: 100svh;
  padding-top: var(--lmab-safe-space-desktop);
  background: var(--lmab-primary);
}

.page-password .container {
  padding: 0 var(--lmab-padding-desktop) !important;
}

body#password #content-wrapper,
.page-password #content-wrapper {
  max-width: none;
  margin: 0 auto;
  padding-bottom: 8rem;
  background: var(--lmab-primary);
}

body#password #content,
.page-password #content {
  background: transparent;
}

body#password .page-header,
.page-password .page-header {
  margin-bottom: 5.35rem;
}

body#password .page-header .h4,
.page-password .page-header .h4 {
  margin: 0;
  color: var(--lmab-secondary);
  font-family: "HammerBold", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 2.75rem;
  text-transform: uppercase;
}

body#password .forgotten-password,
.page-password .forgotten-password,
body#password #content > .alert,
.page-password #content > .alert,
body#password .page-footer,
.page-password .page-footer,
body#password form.form-validation,
.page-password form.form-validation {
  width: min(100%, 58.875rem);
  margin-left: var(--lmab-safe-left);
  max-width: 54rem;
  color: var(--lmab-secondary) !important;
}

body#password .forgotten-password .form-fields,
.page-password .forgotten-password .form-fields,
body#password .renew-password,
.page-password .renew-password {
  display: flex;
  flex-direction: column;
  color: var(--lmab-secondary);
}

body#password .forgotten-password .mb-3,
.page-password .forgotten-password .mb-3 {
  margin-bottom: 0 !important;
}

body#password .form-label,
.page-password .form-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin-bottom: 0.2rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  color: rgba(36, 83, 161, 0.36);
  font-family: "HammerBold", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

body#password .form-control,
.page-password .form-control {
  height: 1.55rem;
  min-height: 0;
  padding: 0;
  color: var(--lmab-secondary);
  background-color: transparent;
  border: 0;
  border-bottom: 2px solid var(--lmab-secondary);
  border-radius: 0;
  box-shadow: none;
  font-family: "HammerBold", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

body#password .form-control:focus,
.page-password .form-control:focus {
  border-color: var(--lmab-secondary);
  box-shadow: none;
}

body#password .form-control::placeholder,
.page-password .form-control::placeholder {
  color: rgba(36, 83, 161, 0.36);
  font-family: "HammerBold", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  opacity: 1;
}

body#password .forgotten-password__actions,
.page-password .forgotten-password__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3.2rem;
}

body#password .form-control-submit,
.page-password .form-control-submit,
body#password .renew-password > .btn-primary,
.page-password .renew-password > .btn-primary {
  width: 16.25rem;
  padding: 0.38rem 1rem 0.34rem;
  color: var(--lmab-primary);
  background: var(--lmab-secondary);
  border: 1px solid var(--lmab-secondary);
  border-radius: 0;
  font-family: "HammerBold", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
}

body#password .form-control-submit:hover,
.page-password .form-control-submit:hover,
body#password .renew-password > .btn-primary:hover,
.page-password .renew-password > .btn-primary:hover {
  color: var(--lmab-secondary);
  background: var(--lmab-primary);
}

body#password #back-to-login,
.page-password #back-to-login {
  color: var(--lmab-secondary);
  font-family: "BradfordLLRegular", serif;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: underline;
}

body#password #back-to-login:hover,
.page-password #back-to-login:hover {
  color: var(--lmab-hover);
  text-decoration: none;
}

body#password .send-renew-password-link,
.page-password .send-renew-password-link {
  max-width: 35.2rem;
  margin-top: 1rem;
  color: var(--lmab-secondary);
  font-family: "BradfordLLRegular", serif;
  font-size: 0.95rem;
  line-height: 1.1rem;
}

body#password .page-footer,
.page-password .page-footer {
  margin-top: 1.5rem;
}

body#password .page-footer:empty,
.page-password .page-footer:empty,
body#password .page-footer:not(:has(#back-to-login)),
.page-password .page-footer:not(:has(#back-to-login)) {
  display: none;
}

body#password .alert,
.page-password .alert {
  border-radius: 0;
  font-family: "BradfordLLRegular", serif;
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 1rem;
}

body#password .renew-password,
.page-password .renew-password {
  gap: 1.05rem;
}

body#password .renew-password .mb-3,
.page-password .renew-password .mb-3 {
  margin-bottom: 0 !important;
}

body#password .password-field,
.page-password .password-field {
  align-items: center;
  flex-wrap: nowrap;
  border-bottom: 2px solid var(--lmab-secondary);
}

body#password .password-field .form-control,
.page-password .password-field .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-bottom: 0;
}

body#password .password-field .btn,
.page-password .password-field .btn {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  margin-left: auto;
  padding: 0;
  color: var(--lmab-secondary);
  background: transparent;
  border: 0;
  border-radius: 0;
}

body#password .password-field .material-icons,
.page-password .password-field .material-icons {
  font-size: 1.45rem;
  line-height: 1;
}

body#password .renew-password > .btn-primary,
.page-password .renew-password > .btn-primary {
  margin-top: 2.15rem;
}

@media (max-width: 991.98px) {
  body#password .forgotten-password,
  .page-password .forgotten-password,
  body#password #content > .alert,
  .page-password #content > .alert,
  body#password .page-footer,
  .page-password .page-footer,
  body#password form.form-validation,
  .page-password form.form-validation {
    margin-left: 0;
  }
}

@media (max-width: 767.98px) {
  body#password,
  .page-password,
  body#password #wrapper,
  .page-password #wrapper {
    overflow-x: hidden;
  }

  body .container {
    padding: var(--lmab-padding-mobile) !important;
  }

  .page-password .container {
    padding: 0 var(--lmab-padding-mobile) !important;
    max-width: 100%;
  }

  body#password #wrapper,
  .page-password #wrapper {
    padding-top: 3rem;
  }

  body#password .page-header,
  .page-password .page-header {
    margin-bottom: 3rem;
  }

  body#password .page-header .h4,
  .page-password .page-header .h4 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  body#password .forgotten-password__actions,
  .page-password .forgotten-password__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  body#password .form-control-submit,
  .page-password .form-control-submit,
  body#password .renew-password > .btn-primary,
  .page-password .renew-password > .btn-primary {
    width: 100%;
    font-size: 1rem;
    line-height: 1rem;
  }

  body#password .forgotten-password,
  .page-password .forgotten-password,
  body#password form.form-validation,
  .page-password form.form-validation,
  body#password .renew-password,
  .page-password .renew-password,
  body#password .mb-3,
  .page-password .mb-3,
  body#password .password-field,
  .page-password .password-field {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body#password .form-control,
  .page-password .form-control,
  body#password .form-control::placeholder,
  .page-password .form-control::placeholder,
  body#password #back-to-login,
  .page-password #back-to-login {
    font-size: 1rem;
    line-height: 1.18rem;
  }

  body#password .send-renew-password-link,
  .page-password .send-renew-password-link {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.18rem;
    overflow-wrap: anywhere;
  }
}
