.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.user-modal__form {
    z-index: 99;
    max-width: 370px;
    position: absolute;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    font-family: "Gilroy", sans-serif;
    ;
}

.base-form {
    padding: 24px;
    background: #FFFFFF;
    -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.01), 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 1px 12px rgba(0, 0, 0, 0.06);
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.01), 0px 4px 8px rgba(0, 0, 0, 0.02), 0px 1px 12px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
}

.base-form .base-form__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 16px;
}

.base-form__icon-back {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.base-form__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #B0B0B0;
    position: relative;
    padding-left: 4px;
}

.base-form__text {
    margin-bottom: 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.base-form__input {
    min-width: 312px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #B0B0B0;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.base-form__input::-webkit-input-placeholder {
    font-size: 14px;
    line-height: 16px;
    color: #B0B0B0;
}

.base-form__input::-moz-placeholder {
    font-size: 14px;
    line-height: 16px;
    color: #B0B0B0;
}

.base-form__input:-ms-input-placeholder {
    font-size: 14px;
    line-height: 16px;
    color: #B0B0B0;
}

.base-form__input::-ms-input-placeholder {
    font-size: 14px;
    line-height: 16px;
    color: #B0B0B0;
}

.base-form__input::placeholder {
    font-size: 14px;
    line-height: 16px;
    color: #B0B0B0;
}

.base-form__input:focus-visible {
    border-color: #278E59;
}

.base-form__input--invalid {
    border: 1px solid #278E59;
}

.base-form__btn {
    margin-top: 12px;
    width: 100%;
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: #278E59;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.enter-form {
    visibility: hidden;
}

.enter-form__bottom-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 24px;
}

.enter-form__reg-link {
    color: inherit;
}

.enter-form__forgot-link {
    color: #B0B0B0;
}

.reg-form {
    visibility: hidden;
}

.reg-form__progress {
    margin-top: -8px;
    margin-bottom: 16px;
    width: 120px;
}

.reg-progress {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.reg-progress__divider {
    height: 2px;
    width: 16px;
    background-color: #B0B0B0;
}

.reg-progress__number {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 16px;
    line-height: 20px;
    color: white;
    background-color: #B0B0B0;
    cursor: pointer;
}

.reg-progress__number--active {
    background-color: #278E59;
}

.reg-form #reg-step-three-btn {
    margin-top: 70px;
}

#reg-step-four {
    width: 322px;
}

@media(max-width: 800px) {
    #reg-step-four {
        width: 282px;
    }
}