:root,
::after,
::before {
  --body-background-color: #fcfcff;
  --line-background-color: #f2c000;
  --main-color: #001a86;
  --main-color-background: linear-gradient(56deg, #001a86, #141e85, #462683);
  --error-color: #ba1a1a;
  --label-font-color: #191c1e;
  --form-control-border: #ababab;
  --main-button-text-color: white;
  --font-size-head: 32px;
  --font-size-head2: 14px;
  --font-size-head3: 12px;
  --font-size-def-line-height: 16px;
}

body {
  background-color: var(--body-background-color);
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

button {
  cursor: pointer;
}

.line-bg {
  background: var(--line-background-color);
}

.login-form .line-bg {
  background-position: center;
}

.reg-form .line-bg,
.prep-form .line-bg {
  background-position: center;
  background-size: 250%;
}

.email-form .line-bg {
  background-position: right;
  background-position-x: -8rem;
}

.pass-form .line-bg {
  background-position: center;
  background-size: 250%;
}

.width-12 {
  flex: 0 0 12px;
  padding: 0;
}

.width-12-px {
  width: 12px;
}

.container-fluid,
.main-row {
  min-height: 100vh;
}

.main-row {
  display: flex;
  align-items: center;
}

.width-100 {
  width: calc(100% - 111px);
}

.container-fluid,
.row,
.col {
  padding: 0;
  margin: 0;
}

.logo-row {
  padding-top: 32px;
  padding-left: 20px;
  padding-bottom: 84px;
  min-height: 160px;
  height: 100vh;
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  width: auto;
}

.logo-row img {
  width: 91px;
  height: 64px;
  border: 0;
  padding: 0;
}

.form-signin-heading {
  text-align: left;
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-size-head);
  color: var(--label-font-color);
}

.password-changed-successfully-heading {
  text-align: center;
  font-style: normal;
  font-weight: 500;
  font-size: var(--font-size-head);
  color: var(--label-font-color);
}

p {
  margin-bottom: 0;
}

.header2 {
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-head2);
  line-height: 20px;
  color: var(--label-font-color);
}

.header2 a,
.header2 a:hover,
.login-forgot-password a,
.login-forgot-password a:hover {
  color: var(--main-color);
  font-weight: 520;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
}

.main-button {
  background: var(--main-color-background);
  width: 480px;
  height: 48px;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  text-align: center;
  color: var(--main-button-text-color);
  margin-top: 15px;
  border: 0;
}

.password-change-button {
  background: var(--main-color-background);
  width: 480px;
  height: 48px;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  text-align: center;
  color: var(--main-button-text-color);
  margin-top: 40px;
  border: 0;
}

.login-form .main-button,
.reg-form .main-button,
.email-form .main-button,
.pass-form .main-button {
  margin-top: 38px;
}

.form-sign-in {
  max-width: 480px;
  width: 480px;
  margin: 0 auto;
}

.main-block-confirm {
  margin: 0 auto;
  width: auto;
}

.check-svg img {
  width: auto;
}

div.login-forgot-password {
  text-align: center;
  margin-top: 40px !important;
}

.form-info {
  font-weight: 400;
  color: var(--main-color);
  font-size: var(--font-size-head2);
  line-height: 16px;
  letter-spacing: 0.4px;
  border: 1px solid var(--main-color);
  border-radius: 4px;
  width: 480px;
  min-height: 48px;
  padding: 15px;
  margin-top: 24px;
}

.form-error {
  color: var(--error-color);
  font-weight: 400;
  font-size: var(--font-size-head2);
  line-height: 16px;
  letter-spacing: 0.4px;
  border: 1px solid var(--error-color);
  border-radius: 4px;
  width: 480px;
  min-height: 48px;
  padding: 15px;
  margin-top: 24px;
}

.form-control-label {
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-head3);
  line-height: 16px;
  letter-spacing: 0.4px;
  color: var(--label-font-color);
  position: relative;
  display: block;
  bottom: -7px;
  right: -15px;
  background-color: var(--body-background-color);
  width: fit-content;
  padding-left: 5px;
  padding-right: 5px;
  visibility: hidden;
}

.form-control-label-visable {
  font-style: normal;
  font-weight: 400;
  font-size: var(--font-size-head3);
  line-height: 16px;
  letter-spacing: 0.4px;
  color: var(--label-font-color);
  position: relative;
  display: block;
  bottom: -7px;
  right: -15px;
  background-color: var(--body-background-color);
  width: fit-content;
  padding-left: 5px;
  padding-right: 5px;
}

.form-control {
  border-color: var(--form-control-border);
  border-radius: 4px;
  width: 480px;
  color: var(--label-font-color);
  height: 48px;
}

.form-block.invalid input,
.form-block-2.invalid input,
.form-block-3.invalid input {
  border-color: var(--error-color);
}

.errors-list {
  display: flex;
  flex-direction: column;
  margin: 0 14px;
}

.with-hint .errors-list-item:first-of-type {
  margin-top: 18px;
}

.additional-list {
  position: absolute;
  font-size: var(--font-size-head3);
  line-height: 16px;
  letter-spacing: 0.4px;
  color: var(--label-font-color);
  margin: 4px 14px -16px;
}

.errors-list-item {
  color: var(--error-color);
  font-size: var(--font-size-head3);
  line-height: var(--font-size-def-line-height);
}

.form-block-2 {
  margin-top: 16px;
  position: relative;
}

.form-block-3 {
  margin-top: 14px;
}

input[type="password"]::-ms-reveal {
  display: none;
}

.toggle-password {
  padding-right: 35px;
}

.password-toggle-span {
  display: block;
  position: absolute;
  right: -10px;
  top: 28px;
  cursor: pointer;
}

.register-button {
  background: var(--main-color-background);
  width: 216px;
  height: 48px;
  border-radius: 100px;
  font-style: normal;
  font-weight: 600;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  text-align: center;
  color: var(--main-button-text-color);
  border: 0;
}

.confidentiality {
  font-weight: 400;
  font-size: var(--font-size-head3);
  line-height: 16px;
  letter-spacing: 0.25px;
  color: var(--label-font-color);
  margin-top: 40px;
  margin-bottom: 40px;
}

.confidentiality a,
.confidentiality a:hover {
  font-weight: 500;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  text-decoration-line: underline;
  color: var(--main-color);
}

.main-block-confirm h2 {
  font-weight: 500;
  font-size: 40px;
  line-height: 48px;
  color: var(--label-font-color);
}

.success-message {
  font-weight: 400;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.25px;
  color: var(--label-font-color);
  margin-top: 16px;
}

.additional-links {
  display: flex;
  justify-content: flex-start;
  font-size: var(--font-size-head2);
  flex-direction: column;
  margin-top: 64px;
  color: var(--label-font-color);
}

.additional-links p {
  margin-bottom: 16px;
}

.not-received {
  margin-top: 74px;
}

.not-received a,
.not-received a:hover {
  font-weight: 500;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  color: var(--main-color);
}

.page-bottom {
  margin-top: 40px;
}

.login-button {
  line-height: 30px;
  border: 0;
}

.other-email {
  font-weight: 500;
  font-size: var(--font-size-head2);
  line-height: 20px;
  letter-spacing: 0.1px;
  color: var(--main-color);
}

.vh-100 {
  height: 100vh;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.tech-support-block {
    display: flex;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    justify-content: center;
}

.tech-support-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(90deg, #8696a9, #637879);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;       /* скруглённые углы */
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
    transition: transform 0.15s, box-shadow 0.15s;
}