#login,
#resetPassword,
#resetPasswordConfirmation,
#forgotPassword,
#forgotPasswordConfirmation,
#suggestPasswordReset,
#expiredPassword {
  position: relative;
  width: 100%;
}

.form-block {
  position: relative;
  width: 100%;
}

.form-block__form {
  position: relative;
  width: 100%;
}

.form-block--space {
  padding: 80px 0 0;
}

.form-block__title {
  color: #ffb605;
}

.form-block__label {
  display: flex;
  color: #69686d;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.144px;
}

.form-block__control {
  margin-bottom: 12px;
  position: relative;
}

.form-block__control:last-child {
  margin-bottom: 0px;
}

.form-block__control--flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.form-block__control--center {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.form-block__validation {
  color: #e83e3e;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.144px;
  margin-bottom: 8px;
}

.form-block__validation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.form-block__input {
  width: 100%;
  padding: 8px 4px 8px 12px;
  border-radius: 8px;
  border: 1px solid #313131;
  color: #313131;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.028px;
}

.form-block__input.error {
  border-color: #e83e3e;
}

.form-block__input:hover {
  box-shadow: 0px 0px 0px 2px #bebebe;
}

.form-block__input::placeholder {
  color: #aeb9c2;
}

.form-block__input::placeholder {
  color: #a5a8a9;
  font-size: 14px;
}

.form-block__goto {
  display: flex;
}

.form-block__goto_img {
  margin-right: 6px;
}

.form-block__goto_link {
  color: #060815;
  text-align: center;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.028px;
  text-decoration: none;
  cursor: pointer;
}

.form-block__goto_link--back_to_login {
  color: #69686d;
}

.form-block__show-pass {
  position: absolute;
  right: 12px;
  top: 10px;
  color: #838c91;
}

.form-block__show-pass:hover {
  cursor: pointer;
}

.form-block__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #313131;
  background: #313131;
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
  color: #fff;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.168px;
  cursor: pointer;
  text-decoration: none;
}

#login .form-block__button {
  margin-top: 64px;
}

#login .form-block__button-session {
  margin-top: 10px !important;
}

#forgotPassword .form-block__button {
  margin-top: 48px;
}

#suggestPasswordReset .form-block__button {
  margin-top: 48px;
}

#expiredPassword .form-block__button {
  margin-top: 48px;
}

#resetPassword .form-block__button {
  margin-top: 48px;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 36px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #313131;
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
  color: #313131;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.168px;
  margin-top: 16px;
  cursor: pointer;
  text-decoration: none;
}

.form-block__button-session_span {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

button:disabled,
button[disabled] {
  pointer-events: none;
  opacity: 0.5;
}

.hide {
  display: none !important;
}

.position-absolute {
  position: absolute !important;
}

.form-block__text {
  color: #313131;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.168px;
  margin-bottom: 48px;
}

.form-block__text--response {
  /* max-width: 344px; */
  color: #69686d;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.144px;
}

.form-block__text_title {
  margin-bottom: 14px;
}

.form-block__text_content {
  display: flex;
  margin-bottom: 16px;
}

.form-block__text_content--response {
  justify-content: center;
  color: #69686d;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.144px;
}

.form-block__text_content-img {
  margin-right: 16px;
}

.form-block__text_content-img--response {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.form-block__text_content-link {
  color: #313131;
  text-decoration: none;
  cursor: pointer;
}

.form-block__password-options {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 48px;

  color: #69686d;
  font-family: var(--skai-font-family-noto-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.028px;
}

.form-block__password-options__block {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-block__password-options__title {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.028px;
}

.form-block__password-options__list {
  margin: 0 !important;
  padding: 0 0 0 20px !important;
}

.form-block__password-options__list-item {
  color: #69686d;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.144px;
}

.form-block__password-options__list-item.success {
  color: #1dae23 !important;
}

.form-block__password-options__list-item.error {
  color: #e83e3e !important;
}

#forgotPassword .form-block__button {
  margin-bottom: 40px;
}

.timer-block {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.timer-block__text {
  color: #539cdf;
  text-align: center;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.048px;
}

.agreement {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  color: #69686d;
  font-family: var(--skai-font-family-noto-sans);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
}

.agreement_text {
  margin-bottom: 8px;
}

.agreement_links {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  gap: 4px;
}

.agreement_cookie_text {
  margin-bottom: 8px;
}

.agreement_links a,
.agreement_cookie_link a {
  text-decoration: none;
  color: #0072bb !important;
}

/* ----------------- Portrait ----------------- */
@media (orientation: portrait) {
  @media only screen and (max-width: 480px) {
    .form-block__password-options {
      margin-top: 15px;
      gap: 10px;
    }

    .form-block__control {
      margin-bottom: 8px;
    }

    #resetPassword .form-block__button {
      margin-top: 44px;
    }
  }

  @media only screen and (max-height: 812px) {
    .form-block__button {
      margin-top: 24px !important;
    }
  }
}

/* ----------------- Landscape ----------------- */
@media (orientation: landscape) {
  @media only screen and (max-height: 431px) {
    .form-block__control {
      margin-bottom: 8px;
    }

    #login .form-block__button,
    #forgotPassword .form-block__button {
      margin-top: 38px;
    }

    #forgotPassword .form-block__button {
      margin-bottom: 15px;
    }

    .timer-block {
      margin-bottom: 10px;
    }

    #forgotPassword .form-block__text {
      margin-bottom: 0px;
    }

    #forgotPassword .form-block__text_title {
      margin-bottom: 10px;
    }

    #forgotPassword .form-block__text_content {
      margin-bottom: 8px;
    }

    #forgotPassword .form-block__control--center {
      margin-top: 10px;
    }

    .form-block__validation {
      font-size: 11px;
      line-height: 11px;
    }
  }
}
