:root {
    --base-unit: 4px;

    --colors-white: #ffffff;
    --colors-onSurface: #20272d;
    --colors-tertiary500: #3e94e4;
    --colors-secondary200: #f3f5f8;
    --colors-secondary300: #cdd8e2;
    --colors-secondary300_2: #cad4de;
    --colors-secondary400: #a8bacd;
    --colors-secondary600: #697e92;
    --colors-primary200: #e8f8f1;
    --colors-primary300: #a5e1c9;
    --colors-primary500: #1db577;
    --colors-primary600: #17915f;

    --font-families-regular: "Source Sans 3";
    --font-families-roboto: "Roboto";
    --font-families-inter: "Inter";

    --font-weights-bold: 700;
    --font-weights-semibold: 600;
    --font-weights-medium: 500;
    --font-weights-regular: 400;

    --font-sizes-m: 16px;
    --font-sizes-s: 14px;
    --font-sizes-xs: 12px;
    --font-sizes-xxs: 10px;

    --line-heights-xxs: 12px;
    --line-heights-xs: 14px;
    --line-heights-s: 16px;
    --line-heights-m: 18px;
    --line-heights-l: 20px;

    --form-title-header-color: #232949;
    --form-title-header-font-size: 26px;
    --form-title-header-line-height: 40px;

    --scrollbar-color: #6e879e;
    --scrollbar-background-color: #f3f5f8;
}
@font-face {
    font-family: "Clear Sans";
    src: url(./7056084a7c70dfb6736149154f90c7ce.eot);
    src: url(./7056084a7c70dfb6736149154f90c7ce.eot?#iefix)
    format("embedded-opentype"),
    url(./3ed943964e7f8c06886ba59fe3429d55.woff2) format("woff2"),
    url(./0291c3404732d8cb4d2c4fc23dbab52a.woff) format("woff"),
    url(./cc705b0844eb3037e6d74fea2d00a00c.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Source Sans 3";
    src: url(./633b4509a67bd45a154643ac2740b250.ttf);
    font-weight: 100 900;
}

@font-face {
    font-family: "Roboto";
    src: url(./f80816a5455d171f948d98c32f20c46e.ttf);
    font-weight: 700;
}

@font-face {
    font-family: "Roboto";
    src: url(./806e04d8241d87f99a68e861e98abeea.woff2) format("woff2"), 
    url(./59d18e163bfcd0607572a155d0def686.woff) format("woff"), 
    url(./ecf539e1e3bc3e936f7865ccb537b092.ttf)  format("truetype") /* Safari, Android, iOS */
}

@font-face {
    font-family: "Clear Sans Light";
    src: url(./aff84b698fedbda65feab1882f3b6fc6.ttf);
    font-weight: 300;
}

@font-face {
    font-family: "Inter";
    src: url(./e05c5f3d1fa6a3893d84c1eef4e89951.ttf);
    font-weight: 500;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

#id, #main, #resent2faVia, #sms-template, #recover-form .repeat-service__link {
  display: none;
}

a,
span,
.auth-code-label {
  font-size: var(--font-sizes-s);
  line-height: var(--line-heights-l);
}

a, span.link {
  color: var(--colors-primary600);
  text-decoration: none;
}

a.link, span.link {
  font-family: var(--main-font-family);
  font-size: var(--font-sizes-s);
  font-weight: var(--font-weights-semibold);
  line-height: var(--line-heights-xs);
  cursor: pointer;
  text-decoration: none;
}

.tlt a, .tlt span.link {
  color: var(--colors-tertiary500);
}


#main {
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  font-family: var(--font-families-regular);
}

.main__content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.flex-box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.flex-box._column {
  flex-direction: column;
}

.modal {
  display: flex;
  flex-direction: column;
  width: calc(var(--base-unit)*93);;
  position: relative;
  align-items: center;
  border-radius: calc(var(--base-unit)*4);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: var(--base-unit);
  scrollbar-color: var(--scrollbar-color) var(--scrollbar-background-color);
  height: auto;
}

.recover {
  overflow: hidden !important;
}

.modal::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.modal::-webkit-scrollbar-corner {
  display: none;
}

.modal::-webkit-scrollbar-thumb {
  background: var(--scrollbar-color);
  background-clip: padding-box;
  border-radius: 10px;
  border: 1px solid transparent;
}

.modal::-webkit-scrollbar-track {
  background: var(--scrollbar-background-color);
  border-radius: 10px;
}

.modal__inner-wrapper-content {
  width: 100%;
  padding-left: calc(var(--base-unit)*9);
  padding-right: calc(var(--base-unit)*9);
  height: 100%;
  background: var(--colors-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal__header {
  padding-top: calc(var(--base-unit)*8);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal__header__logo__container {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
}
.modal__header__logo__container._default {
  height: calc(var(--base-unit)*11.5);
}
.modal__header__logo-block {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal__header__logo-default {
  position: relative;
  width: 100%;
  height: 90px;
}
.modal__header__logo-default .modal__header__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal__header__logo {
  background-position: center;
  background-repeat: no-repeat;
}
.modal__header__logo-img {
  width: 100%;
}
.modal__header__title {
  display: flex;
  width: 100%;
  justify-content: center;
  color: #6c6f73;
  padding: 16px 0;
}
.modal__header__title span {
  white-space: normal;
  text-align: center;
  overflow: hidden;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.form {
  display: flex;
  justify-content: center;
}

.form__title {
  padding: calc(var(--base-unit)*7) 0 calc(var(--base-unit)*6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.form__title p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#recover-form .form__title p,
.form__title p.login-passChange-element,
.third-step .form__title__header {
  white-space: pre-wrap;
  overflow: initial;
  line-height: 28px;
}

.third-step .form__title__header {
  padding: calc(var(--base-unit)*7) 0 calc(var(--base-unit)*6);
}

.third-step .modal__header__title {
  padding: calc(var(--base-unit)*7) 0 calc(var(--base-unit)*6);
}

.form__title__header {
  color: var(--form-title-header-color);
  font-family: var(--font-families-roboto);
  font-weight: var(--font-weights-bold);
  font-size: var(--form-title-header-font-size);
  line-height: var(--form-title-header-line-height);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#email-template .form__title__header {
  font-size: 21px;
}

.login-passChange-element {
  display: none;
}

.form__input {
  width: 100%;
}
.form__input,
.form__checkbox {
  padding: calc(var(--base-unit)*2) 0;
}
.form__input input,
.form__input.ssoProviderLink {
  height: calc(var(--base-unit) * 10 + var(--base-unit) / 2);
  width: 100%;
  background: var(--colors-white);
  border: 1px solid var(--colors-secondary300);
  border-radius: var(--base-unit);
  padding: calc(var(--base-unit)*3) calc(var(--base-unit)*3) calc(var(--base-unit)*3) calc(var(--base-unit)*11.5);
  font-size: var(--font-sizes-s);
  line-height: var(--line-heights-m);
  color: #424c5c;
}
.form__input input::placeholder {
  color: var(--colors-secondary300);
}
.form__input input:focus {
  outline: none;
}
.form__input_password,
.form__input_confirm-password,
.form__input_login,
.form__input_confirm-code,
.form__input_sms,
.form__input_confirm-emp-role {
  position: relative;
}
.form__input_password::after,
.form__input_confirm-password::after,
.form__input_login::after,
.form__input_confirm-emp-role::after,
.form__input_confirm-code::after,
.form__input_sms::after {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
}
.form__input_password::after {
  background-image: url(./ffc89e7376cc605a648d50c4ce9c6e90.png);
}
.form__input_confirm-password::after {
  background-image: url(./ffc89e7376cc605a648d50c4ce9c6e90.png);
}
.form__input_login::after {
  background-image: url(./97908c73d3ab14fdc2df8b69bd039d21.png);
}
.form__input_confirm-emp-role::after {
  background-image: url(./97908c73d3ab14fdc2df8b69bd039d21.png);
}
.form__input_confirm-code::after {
  background-image: url(./97908c73d3ab14fdc2df8b69bd039d21.png);
}
.form__input_sms::after {
  background-image: url(./97908c73d3ab14fdc2df8b69bd039d21.png);
}
.password-input-wrapper.hide-password img.show-password {
  display: none;
}
.password-input-wrapper:not(.hide-password) img.hide-password {
  display: none;
}
.password-input-wrapper input {
  padding-right: 10%;
}
.confirm-password-input-wrapper.hide-password img.show-password {
  display: none;
}
.confirm-password-input-wrapper:not(.hide-password) img.hide-password {
  display: none;
}
.confirm-password-input-wrapper input {
  padding-right: 10%;
}
.form__input_password input::-ms-clear,
.form__input_password input::-ms-reveal {
  display: none;
}
.form__input_password img,
.form__input_confirm-password img {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  cursor: pointer;
  opacity: 0.5;
}
.form__checkbox {
  max-width: 60%;
  white-space: nowrap;
}
.form__checkbox label > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  line-height: var(--line-heights-l)
}
.form__checkbox label {
  display: block;
  position: relative;
  cursor: pointer;
  padding-left: 28px;
  font-size: 14px;
  line-height: 19px;
  color: var(--colors-secondary400);
}
.form__checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.form__checkbox__checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--colors-white);
  border: 1px solid #ccd1d9;
  box-sizing: border-box;
  border-radius: 4px;
}
.form__checkbox__checkmark::after {
  content: "";
  display: none;
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid var(--colors-white);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* стили если checked */
.form__checkbox input:checked ~ .form__checkbox__checkmark {
  border-color: #4ab077;
  background-color: #4ab077;
}
.form__checkbox input:checked ~ .form__checkbox__checkmark::after {
  display: block;
}

.form__text p,
.form__text a {
  font-size: 14px;
  line-height: 19px;
}
.form__text p {
  color: #9aa6b8;
}

.form__row {
  margin-bottom: calc(var(--base-unit)*3);
  color: #232949;
  text-align: center;
}

.repeat-service__timer,
.repeat-service__link {
  min-height: 21px;
}
.repeat-service__timer span,
.repeat-service__timer p,
.form__service-link p {
  font-size: 12px;
  line-height: 16px;
  color: #9aa6b8;
}

.form__service-link:not(:empty),
.form__service-message:not(:empty) {
  min-height: 21px;
}

.form__service-message span,
.form__service-message p,
.form__service-link p {
  font-size: 12px;
  line-height: 16px;
  color: #9aa6b8;
}
.enter_button {
  max-width: 80%;
}
.login-form-step-one .enter_button {
  max-width: 100%;
}
.form__button {
  padding: calc(var(--base-unit)*9) 0;
  text-align: center;
}
.form__button button {
  max-width: 100%;
  padding: calc(var(--base-unit)*3) calc(var(--base-unit)*8);
  background: var(--colors-primary500);
  border-radius: calc(var(--base-unit)*2);
  font-size: var(--font-sizes-s);
  font-weight: var(--font-weights-semibold);
  line-height: var(--line-heights-m);
  color: var(--colors-white);
  border: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.password-change-mode .form__button button,
#recover-form .form__button button {
  padding: calc(var(--base-unit)*2.5) calc(var(--base-unit)*15);
}

.form__button button:focus {
  outline: none;
  border: none;
}
.form__button.next_button button:disabled,
.form__button.enter_button button:disabled {
  opacity: 0.7;
  cursor: default;
}
.form__button-wrapper {
  display: flex;
  justify-content: space-between;
}
.form__button-wrapper > div:first-child {
  /* для кнопки "Назад" */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.modal__footer {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
  border-radius: 0 0 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: 0.9;
}
.modal__footer__sm-links {
  /*display: flex;*/
  display: none; /* ждем когда бэк научится входить по соц. сетям */
}
.modal__footer__sm-links span,
.modal__footer__sm-links a {
  font-size: 14px;
  line-height: 19px;
  color: #9aa6b8;
}
.modal__footer__sm-links .sm-link {
  margin: 0 3px;
}
.modal__footer__sm-links > div:first-child {
  padding-right: 5px;
}
.sm-link {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 24px;
  background-color: #9aa6b8;
  background-repeat: no-repeat;
  background-position: center;
}
.sm-link_vk {
  background-image: url(./669e4503d7f42c27d4aa013fcf9c2d3e.png);
}
.sm-link_mg {
  background-image: url(./7b3d7e03b919faf6561750e8fc84741f.png);
}
.sm-link_ig {
  background-image: url(./7737e2e5321e92649ef1bebf9363e9a6.png);
}
.sm-link_fb {
  background-image: url(./180a91758a148cb75062e27576e79c4b.png);
}
.sm-link_more {
  background-image: url(./2fb0d4ab3c7d0b1eaad01060c8896a79.png);
}

.step-list {
  position: relative;
  display: flex;
  width: 100%;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .step-list {
    display: inline-block;
  }
}

.step-list > div {
  top: 0;
  position: relative;
  transition: left 0.2s;
}

.first-step.active + .second-step + .third-step,
.second-step.active + .third-step {
  display: none;
}

.password-change-mode .second-step .recover__link {
  display: none;
}

.second-step .recover__link {
  text-align: right;
}

.step-list .active {
  left: 0;
  max-width: 100%;
  width: 100%;
}

.step-list .step_completed {
  left: -100%;
  position: absolute;
  opacity: 0;
  /* if prev steps can have more height than current and show `.modal` scroll-y */
  height: 100%;
  overflow: hidden;
}

.step-list .step_not-completed {
  left: 100%;
  position: absolute;
  opacity: 0;
  display: none;
}

.forget-password-link {
  height: 23px;
  display: flex;
  align-items: flex-end;
}
.forget-password-link a {
  font-size: 12px;
  line-height: 16px;
  text-decoration-line: underline;
  color: #006dff;
}

.back-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}
.back-button::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url(./6c54a1e870340e52829da5618d9a2e28.svg);
  background-repeat: no-repeat;
  background-position: center;
}
.back-button span,
.back-button p {
  color: var(--colors-onSurface);
  padding-left: calc(var(--base-unit)*7);
  white-space: nowrap;
}

.back-button_to-auto-login {
  margin-bottom: calc(var(--base-unit)*9);
  display: none;
}

.logged-list {
  display: flex;
  flex-direction: column;
}
.form .logged-list {
  margin: 0 -8px;
}
.logged-user {
  cursor: pointer;
}
.logged-user__inner {
  padding: 8px;
}
.logged-user__data {
  display: flex;
  height: 30px;
}
.logged-user__data::before,
.logged-user__data::after {
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}
.logged-user__data::before {
  width: 30px;
  border-radius: 30px;
  background-color: #4ab077;
  background-image: url(./f8c778d1d61fc57d1c97a58be8abac64.png);
}
.logged-user__data::after {
  width: 16px;
  background-image: url(./3e8b69c40c8c66917f601628d2889b6a.png);
}
.logged-user__data span {
  flex: 1;
  font-size: 14px;
  line-height: 26px;
  color: #424c5c;
  padding-left: 10px;
}
.logged-user_login .logged-user__data::before {
  background-color: transparent;
  border: 1px solid #9aa6b8;
  background-image: url(./8377bc9340917965ecf1bad0b42c2190.png);
}
.logged-user_login .logged-user__data::after {
  display: none;
}
.logged-user_login .logged-user__data span {
  color: #9aa6b8;
}

#footer {
  text-align: center;
  width: 100%;
  padding: 0 calc(var(--base-unit)*9) calc(var(--base-unit)*8);
  background: var(--colors-white);
}
#footer p,
#footer a {
  font-size: var(--font-sizes-s);
  line-height: var(--line-heights-l);
}

#footer p {
  color: var(--colors-secondary400);
}

#footer a {
  display: inline-block;
}

#footer a,
.form__checkbox_access a {
  color: var(--colors-tertiary500);
  text-decoration: none;
}

#wait {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  cursor: wait;
}

.form-list {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.form-list #login-form,
.form-list #auto-login-form {
  width: 100%;
  min-height: 250px;
  position: relative;
  top: 0;
  transition: right 0.2s, left 0.2s;
}

#change_password {
  display: none;
}

#change_password .password-input-wrapper:first-child,
.modal.recover .third-step .password-input-wrapper,
#registration-form .password-input-wrapper {
  padding-bottom: 0;
}

#change_password .password-input-wrapper:first-child img,
.modal.recover .third-step .password-input-wrapper img,
#registration-form .password-input-wrapper img {
  padding-top: calc(var(--base-unit)*2);
}

#change_password .password-input-wrapper:first-child.form__input_password::after,
.modal.recover .third-step .password-input-wrapper.form__input_password::after,
#registration-form .password-input-wrapper.form__input_password::after {
  top: calc(var(--base-unit)*2);
}

.form-list #auto-login-form {
  right: 0;
  flex-direction: column;
  justify-content: initial;
}
.form-list #login-form {
  left: 0;
}
.form-list #auto-login-form.form-list_hidden-form {
  display: none; /* когда начнем пользоваться этим блоком, тогда подумаем, что с ним делать*/
  position: absolute;
  right: 450px;
  transition: right 0.2s;
}
.form-list #login-form.form-list_hidden-form {
  position: absolute;
  left: 450px;
  transition: left 0.2s;
}
.message {
  display: flex;
  margin-top: auto;
  align-self: flex-end;
  align-content: center;
  position: absolute;
  height: fit-content;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #53575b;
  color: var(--colors-white);
  padding: 16px 32px;
  overflow: hidden auto;
  font-size: 14px;
  pointer-events: auto;
}

#messageTextAdmin {
  text-align: left;
}
.message-btn {
  margin-top: 5px;
  text-align: right;
}
.message-btn button {
  padding: 3px 10px;
}
.message span,
.message p {
  font-size: 14px;
  line-height: 19px;
  color: var(--colors-white);
  max-width: 380px;
}
.message__close-button {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 6px;
  right: 6px;
  z-index: 1000;
  background-image: url(./5db85ad35a1f240d39cc39c90a50a6e7.png);
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  color: #ffffff
}

datalist {
  position: absolute;
  background-color: white;
  border: 1px solid #d3d8e0;
  border-radius: 8px;
  font-family: sans-serif;
  width: 100%;
  max-height: 124px;
  overflow-y: auto;
  padding-top: 5px;
  margin-top: 4px;
  box-shadow: 0px 0px 10px rgba(38, 50, 68, 0.15);
  scrollbar-width: 3px;
  scrollbar-color: var(--scrollbar-color) var(--colors-white);
}

datalist::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

datalist::-webkit-scrollbar-thumb {
  background: var(--scrollbar-color);
  background-clip: padding-box;
  border-radius: 8px;
  border: 2px solid transparent;
}

datalist::-webkit-scrollbar-corner {
  display: none;
}

.arrow {
  cursor: pointer;
  border: solid #9aa6b8;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  position: absolute;
  top: 38%;
  right: 15px;
}
.down {
  transform: rotate(45deg);
}

.form__input_confirm-emp-role input {
  height: calc(var(--base-unit) * 10 + var(--base-unit) / 2);
  width: 100%;
  background: var(--colors-white);
  border-radius: 6px;
  padding: 13px 13px 13px 46px;
  font-size: 14px;
  line-height: 19px;
  color: #424c5c;
  outline: none;
}
.form__input_confirm-emp-role input:hover {
  cursor: pointer;
}

.form__input_confirm-emp-role {
  z-index: 1;
}

option {
  margin-bottom: 1px;
  font-size: 15px;
  cursor: pointer;
  padding: 3px 0 3px 12px;
  font-weight: 400;
  line-height: 20.28px;
}

option:hover {
  background: #e8f8f1;
}

/*********
 * SSO PROVIDERS
**********/
.ssoProvidersWrapper {
  padding-bottom: 24px;
}

.ssoProvidersWrapper .ssoProviders__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ssoProviders__content .ssoProviderLink {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  padding: calc(var(--base-unit)*3);
}

.ssoProviders__content .ssoProviderLink .ssoProviderLink__iconWrap {
  width: calc(var(--base-unit)*6);
  height: calc(var(--base-unit)*6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ssoProviders__content .ssoProviderLink .ssoProviderLink__icon {
  max-height: 100%;
  max-width: 100%;
}

.ssoProviders__content .ssoProviderLink .ssoProviderLink__name {
  font-size: 14px;
  font-weight: 600;
}

.ssoProviders__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

.ssoProviders__label span {
  font-weight: 400;
  font-size: 14px;
  color: var(--colors-secondary300);;
}

.ssoProviders__label hr {
  display: inline-block;
  flex: 1;
  border: none;
  border-top: 1px solid var(--colors-secondary300);;
}

/*********
 * HOVERS
**********/
.form__button button:hover {
  background: #44a16d;
}
.logged-user:hover {
  background-color: #f5f7fa;
}
.logged-user__data:hover::after {
  background-image: url(./07bef020c31c0f18882f2be900457860.png);
}
.sm-link:hover {
  background-color: #424c5c;
}
#footer a:hover {
  text-decoration: underline;
}

#two-fa-title > p {
  display: inline;
}

#two-fa-email {
  word-wrap: break-word;
}

/***************
 * RESPONSIVE *
****************/

@media screen and (max-width: 480px) {
  .modal {
    width: 330px;
  }

  .message,
  .modal__inner-wrapper,
  .modal__inner-wrapper-content {
    padding-left: 24px;
    padding-right: 24px;
  }

  .modal__header {
    padding-bottom: 0;
  }

  .form__checkbox label,
  .form__service-link a {
    font-size: 12px;
  }

  .form-list #login-form,
  .form-list #auto-login-form,
  .form__input {
    width: 100%;
  }

  .modal__header__logo {
    max-height: 100%;
  }

  .modal__footer__sm-links > div:first-child {
    display: none;
  }

  .form__title span,
  .form__title p {
    font-size: 18px;
    line-height: 24px;
  }
}

.page-freeze {
  cursor: wait;
}

.page-freeze > * {
  pointer-events: none;
}

.hidden-message {
  display: none;
  font-size: 14px;
}

.hidden-message span {
  font-size: 14px;
}

.message span {
  font-size: 14px;
}

#repeat_error {
  display: none;
}

.enter_code_button + .next_button {
  display: none;
}

.form__checkbox_domain-login,
.form__checkbox_access {
  min-width: 100%;
}

.login-form-step-one .next_button {
  display: none;
}

/* CUSTOM RADIO */

.l-radio {
  display: flex;
  align-items: center;
  gap: 5px;
}

.l-radio-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  outline: 1px solid #d3d8e0;
}

.l-radio-inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #fff;
  display: none;
}

.l-radio-active .l-radio-outer {
  outline: none;
  background-color: #4ab077;
}

.l-radio-active .l-radio-inner {
  display: initial;
}

.l-radio-group {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 5px 0;
}

.form__checkbox_access .form__checkbox_custom-label {
  white-space: normal;
}

.form__checkbox_access #access-link:hover {
  text-decoration: underline;
}

.access_default_files_link {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
}

.form__input_login-hidden {
  padding: 0;
  height: 0;
  overflow: hidden;
}

.fake-input {
  position: absolute;
  height: 0;
  overflow: hidden;
  border: 0;
}

.form__button.enter_button.hidden {
  display: none;
}

.form__button.enter_anyway_button.hidden {
  display: none;
}

.tooltip {
  position: absolute;
  transform: translateY(-85px);
  left: 35%;
  background-color: #20272D;
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  border-radius: 4px;
  font-family: sans-serif;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 100;
}

.tooltip ul {
  padding-left: calc(var(--base-unit)*6);
}

#regular_enter.disabled:hover .tooltip,
#change_pwd_enter.disabled:hover .tooltip,
.tooltip._show {
  opacity: 1;
  visibility: visible;
}

.password-requirements-tooltip {
  white-space: normal;
  max-width: 500px;
}

.hidden.hidden {
  display: none;
}

.step-list__sso {
  display: flex;
  flex-direction: column;
}

.form__title.welcomeBack {
  padding-bottom: 0;
}

.modal__header__title.welcomeBack {
  flex-direction: column;
  padding-top: var(--base-unit);
}

.sso-enter-button {
  width: 100%;
  margin: calc(var(--base-unit) * 4) 0 calc(var(--base-unit) * 9);
  border: 1px solid var(--colors-secondary300);
  border-radius: var(--base-unit);
  padding: calc(var(--base-unit) * 3);
  background-color: var(--colors-secondary200);
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: calc(var(--base-unit) * 3);
}

.sso-enter-button:hover {
  background-color: var(--colors-primary200);
  border-color: var(--colors-primary300);
}

.user-pic {
  display: flex;
  width: calc(var(--base-unit) * 10);
  height: calc(var(--base-unit) * 10);
  border-radius: 50%;
  background-color: var(--colors-primary500);
  justify-content: center;
  align-items: center;
}

.user-pic__label {
  font-size: var(--font-sizes-m);
  font-weight: var(--font-weights-semibold);
  line-height: var(--line-heights-xs);
  color: var(--colors-white);
}

.sso-text {
  text-align: start;
  word-break: break-word;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sso-name {
  font-weight: var(--font-weights-semibold);
  font-size: var(--font-sizes-m);
  color: var(--colors-onSurface);
  line-height: var(--line-heights-l);
}

.sso-email {
  font-weight: var(--font-weights-regular);
  font-size: var(--font-sizes-s);
  color: var(--colors-secondary600);
  line-height: var(--line-heights-s);
  margin-top: calc(var(--base-unit) / 2);
}

.sso-greenData-ID {
  font-size: var(--font-sizes-xxs);
  font-weight: var(--font-weights-medium);
  line-height: var(--line-heights-s);
  padding: 0 var(--base-unit);
  margin-top: var(--base-unit);
  background-color: var(--colors-primary500);
  color: var(--colors-white);
  font-family: var(--font-families-inter);
  border-radius: calc(var(--base-unit) / 2);
}

.sso-next {
  display: flex;
  align-items: center;
}

.password-enter-button {
  font-weight: var(--font-weights-medium);
  color: var(--colors-secondary600);
  font-size: var(--font-sizes-s);
  line-height: var(--line-heights-s);
  padding: var(--base-unit);
  margin: 0 0 calc(var(--base-unit) * 7);
  cursor: pointer;
  background-color: transparent;
  border: none;
}

.password-enter-button:hover {
  color: var(--colors-primary500);
}

.back-button-to-sso {
  margin-bottom: calc(var(--base-unit) * 9);
}
