.body-auth.body-login {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: auto;
  background: #168fc0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.body-auth.body-login > .top-header {
  display: none;
}

.body-login .page-login {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 88px 16px 48px;
  background-color: #168fc0;
  background-image: url("../images/hero-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.body-login .login-brand {
  position: absolute;
  z-index: 2;
  top: 22px;
  left: 3.65vw;
  display: flex;
  width: 220px;
  height: 40px;
  align-items: center;
}

.body-login .login-brand img {
  display: block;
  width: auto;
  max-width: 220px;
  height: 24px;
  max-height: 24px;
}

.body-login .login-card {
  position: relative;
  z-index: 1;
  width: 444px;
  max-width: calc(100vw - 32px);
  min-height: 535px;
  padding: 43px 34px 34px;
  border: 5px solid rgba(255, 255, 255, 0.52);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  box-shadow: 0 22px 55px rgba(24, 58, 87, 0.08);
  transform: translateY(-7vh);
}

.body-login .login-card h1 {
  margin: 0;
  color: #000;
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
}

.body-login .login-card__intro {
  margin: 9px 0 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}

.body-login .login-form {
  display: flex;
  max-width: none;
  margin: 27px 0 0;
  padding: 0;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.body-login .login-form label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.body-login .login-form input[type="email"],
.body-login .login-form input[autocomplete="one-time-code"],
.body-login .password-field {
  height: 39px;
  border: 1px solid #fff;
  border-radius: 3px;
  background: #fff;
}

.body-login .login-form input[type="email"],
.body-login .login-form input[autocomplete="one-time-code"],
.body-login .password-field input {
  outline: 0;
  color: #111;
  font-size: 14px;
}

.body-login .login-form input[type="email"],
.body-login .login-form input[autocomplete="one-time-code"] {
  width: 100%;
  margin: 0 0 25px;
  padding: 0 12px;
}

.body-login .login-form input[type="email"]:-webkit-autofill {
  -webkit-text-fill-color: #111;
  caret-color: #111;
}

.body-login .login-form input::placeholder {
  color: #818795;
  opacity: 1;
}

.body-login .login-form input[type="email"]:focus,
.body-login .login-form input[autocomplete="one-time-code"]:focus,
.body-login .password-field:focus-within {
  border-color: #2e81c6;
  box-shadow: 0 0 0 3px rgba(46, 129, 198, 0.45);
}

.body-login .password-field {
  position: relative;
}

.body-login .password-field input {
  width: 100%;
  height: 37px;
  padding: 0 58px 0 12px;
  border: 0;
  background: transparent;
}

.body-login .password-field__toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 37px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #2e81c6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.body-login .login-form__forgot {
  width: max-content;
  margin-top: 8px;
  color: #2e81c6;
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.body-login .login-form__forgot:hover {
  color: #1e679f;
}

.body-login .login-form__submit {
  width: 100%;
  height: 42px;
  margin-top: 27px;
  border: 0;
  border-radius: 3px;
  background: #2d415a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
}

.body-login .login-form__submit:hover {
  background: #23364d;
}

.body-login .login-form__submit:active {
  transform: translateY(1px);
}

.body-login .password-field__toggle:focus,
.body-login .login-form__forgot:focus,
.body-login .login-form__submit:focus {
  outline: 3px solid rgba(46, 129, 198, 0.45);
  outline-offset: 3px;
}

.body-login .error-message {
  margin: -6px 0 6px;
  color: #a94442;
  font-size: 13px;
}

.body-login .login-feedback .alert {
  margin: 16px 0 0;
  text-align: left;
}

.body-login .hidden-autofill-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.body-login .login-card--compact {
  min-height: 430px;
}

.body-login .login-card--compact .login-form__submit {
  margin-top: 2px;
}

.body-login .login-card--reset {
  min-height: 535px;
}

.body-login .login-card--reset .password-field {
  margin-bottom: 25px;
}

.body-login .login-card--reset .login-form__submit {
  margin-top: 2px;
}

.body-login .login-form__return {
  align-self: center;
  margin-top: 20px;
  color: #2e81c6;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.body-login .login-form__return:hover {
  color: #1e679f;
  text-decoration: underline;
}

.body-login .login-form__return:focus {
  outline: 3px solid rgba(46, 129, 198, 0.45);
  outline-offset: 3px;
}

.body-login .login-card--confirmation {
  min-height: 300px;
  text-align: center;
}

.body-login .login-form__return--button {
  display: flex;
  width: 100%;
  height: 42px;
  margin-top: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #2d415a;
  color: #fff;
  font-weight: 700;
}

.body-login .login-form__return--button:hover {
  background: #23364d;
  color: #fff;
  text-decoration: none;
}

.body-login .login-form__submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.body-login .login-card__signup {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.body-login .login-card__signup a {
  color: #2e81c6;
  font-weight: 600;
  text-decoration: none;
}

.body-login .login-card__signup a:hover {
  color: #1e679f;
  text-decoration: underline;
}

.body-login .login-card__signup a:focus {
  outline: 3px solid rgba(46, 129, 198, 0.45);
  outline-offset: 3px;
}

.body-login .login-form .cf-turnstile {
  align-self: center;
  flex: none;
  width: 300px;
  height: 65px;
  margin-top: 16px;
}

.body-login .login-form__forgot ~ .cf-turnstile {
  margin-top: 24px;
}

.body-login .login-form .cf-turnstile + .login-form__submit {
  margin-top: 16px;
}

@media (max-width: 520px) {
  .body-login .page-login {
    align-items: start;
    overflow-y: auto;
    padding-top: 84px;
    padding-bottom: 32px;
  }

  .body-login .login-brand {
    top: 24px;
    left: 24px;
  }

  .body-login .login-card {
    padding-right: 24px;
    padding-left: 24px;
    transform: none;
  }

  .body-login .login-card h1 {
    font-size: 32px;
  }
}

@media (max-width: 389px) {
  .body-login .page-login--turnstile {
    padding-right: 4px;
    padding-left: 4px;
  }

  .body-login .page-login--turnstile .login-card {
    width: 100%;
    max-width: 100%;
    padding-right: clamp(1px, calc(50vw - 159px), 24px);
    padding-left: clamp(1px, calc(50vw - 159px), 24px);
  }
}

@media (max-height: 700px) and (min-width: 521px) {
  .body-login .page-login {
    align-items: start;
    overflow-y: auto;
    padding-top: 84px;
    padding-bottom: 32px;
  }

  .body-login .login-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .body-login .login-form__submit {
    transition: none;
  }
}
