input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
.header-body__search-input::-webkit-input-placeholder,
.enter-form__input::-webkit-input-placeholder,
.sign-in .enter-form__input[name="email"]::-webkit-input-placeholder {
    color: rgba(30, 30, 30, 0.8);
}
input::-moz-placeholder,
textarea::-moz-placeholder,
.header-body__search-input::-moz-placeholder,
.enter-form__input::-moz-placeholder,
.sign-in .enter-form__input[name="email"]::-moz-placeholder {
    color: rgba(30, 30, 30, 0.8);
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder,
.header-body__search-input:-ms-input-placeholder,
.enter-form__input:-ms-input-placeholder,
.sign-in .enter-form__input[name="email"]:-ms-input-placeholder {
    color: rgba(30, 30, 30, 0.8);
}
input::-ms-input-placeholder,
textarea::-ms-input-placeholder,
.header-body__search-input::-ms-input-placeholder,
.enter-form__input::-ms-input-placeholder,
.sign-in .enter-form__input[name="email"]::-ms-input-placeholder {
    color: rgba(30, 30, 30, 0.8);
}
input::placeholder,
textarea::placeholder,
.header-body__search-input::placeholder,
.enter-form__input::placeholder,
.sign-in .enter-form__input[name="email"]::placeholder {
    color: rgba(30, 30, 30, 0.8);
}
.account-enroll__participants-button-hidden {
    display: none;
}
.profile-settings__button:first-child {
    margin-bottom: 24px;
}
.profile-settings__button:last-child {
    width: max(13.906vw, 170px);
}
.profile-settings__button-settings {
    display: none;
}
.timetable-form._webinars .timetable-form__output-button {
    display: none;
}
.news-card__title a {
    color: #1e1e1e;
}
.review-card__avatar img {
    object-fit: cover;
}
.locations__list:not(:last-child) {
    padding-bottom: 35px;
}
.ymaps-2-1-79-copyrights-pane {
    display: none;
}
.ymaps-2-1-79-controls__control {
    inset: 140px auto auto 10px !important;
}
.book-card__title a {
    color: #000;
    width: 100%;
    display: block;
}
@media (min-width: 601px) {
    .home-library__thumbnail-pane {
        padding-right: max(5.278vw, 76px);
    }
}
.home-library__thumbnail-title {
    overflow-wrap: anywhere;
}
.library-modal__description-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: max(1.389vw, 16px);
}
.enter-form__button-custom .button__text._hidden {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}
.enter-form__button-custom .button__icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: max(0.417vw, 4px);
    position: absolute;
    translate: 0 -50%;
}
.enter-form__button-custom .button__icon._hidden {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 250ms;
    transition: all 250ms;
}
.enter-form__button-custom .button__icon-disc {
    display: block;
    width: max(0.556vw, 6px);
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #fff;
    -webkit-animation: slide-down 1000ms infinite ease-in-out;
    animation: slide-down 1000ms infinite ease-in-out;
}
.enter-form__input-wrapper_select {
    position: relative;
}
.registration .enter-form__input::placeholder {
    color: rgba(30, 30, 30, 0.8);
    opacity: 1;
}
.enter-form__city {
    position: relative;
}
.enter-form__city-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: max(0.833vw, 10px);
    background-color: transparent;
    text-align: left;
    touch-action: manipulation;
    cursor: pointer;
}
.enter-form__city-toggle span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.enter-form__select-icon {
    flex: 0 0 auto;
    width: max(1.25vw, 18px);
    height: max(1.25vw, 18px);
    pointer-events: none;
}
.enter-form__city.is-open .enter-form__select-icon {
    transform: rotate(180deg);
}
.enter-form__city-list {
    position: absolute;
    top: calc(100% + max(0.417vw, 6px));
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: min(260px, 42vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-block: max(0.417vw, 6px);
    border: 1px solid rgba(30, 30, 30, 0.3019607843);
    border-radius: max(0.833vw, 10px);
    background-color: #fff;
    box-shadow: 0 18px 40px rgba(30, 30, 30, 0.16);
}
.enter-form__city-option {
    width: 100%;
    padding: max(0.694vw, 10px) max(1.111vw, 16px);
    color: #1e1e1e;
    font-size: max(1.111vw, 16px);
    font-weight: 300;
    line-height: 1.25;
    text-align: left;
    touch-action: manipulation;
}
.enter-form__city-option:hover,
.enter-form__city-option:focus,
.enter-form__city-option[aria-selected="true"] {
    background-color: #f3f4f6;
}
.enter-form__field.is-invalid .enter-form__input-wrapper {
    border-color: #da3849;
}
.registration.enter {
    max-height: calc(100vh - 25px);
}
.registration-completion .enter-form__button-box._verification-actions {
    display: flex;
    flex-direction: column;
    gap: max(1.111vw, 12px);
}
.registration-completion .enter-form__button-box._verification-actions form {
    margin: 0;
    width: 100%;
}
.registration-completion .enter-form__button-box._verification-actions form + form {
    margin-top: max(1.111vw, 12px);
}
.registration-completion .enter-form__button-box._verification-actions .enter-form__button,
.registration-completion .enter-form__button-box._verification-actions .button {
    width: 100%;
    padding-block: max(1.111vw, 14px);
}
.registration-completion .enter__status {
    margin-bottom: max(1.389vw, 16px);
    padding: max(0.972vw, 12px) max(1.111vw, 16px);
    border: 1px solid transparent;
    border-radius: max(0.833vw, 8px);
    font-size: max(0.972vw, 14px);
    font-weight: 300;
    line-height: 1.45;
}
.registration-completion .enter__status--success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #15803d;
}
.registration-completion .enter__status--error {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}
.account-certificates__list {
    display: flex;
    flex-wrap: wrap;
}
.account-certificates__list-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 49%;
}
.certificate-card {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.certificate-card__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 136px;
    width: 136px;
    height: 136px;
    margin-bottom: max(1.389vw, 16px);
    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f3f3;
}
.certificate-card__preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.certificate-card__preview-image._fallback {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.certificate-form__field .drag-file-field__thumbnail._file-placeholder {
    width: 42px;
    height: 42px;
    object-fit: contain;
}
.study-modal__inner .button._enroll._study {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: max(19.028vw, 156px);
    height: max(4.583vw, 50px);
    border-radius: max(0.833vw, 8px);
    font-size: max(1.667vw, 16px);
}
.main-webinars .timetable-form__inner {
    height: auto;
}
._account .modal .account-enroll__button {
    height: 100%;
}
._account .modal .account-enroll__footer > .account-enroll__button {
    align-self: stretch;
    height: auto;
}
.enrollment-remove-modal {
    width: max(27.778vw, 360px);
    padding: max(1.667vw, 24px);
    border-radius: max(0.694vw, 10px);
    color: #1e1e1e;
}
.enrollment-remove-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: max(1.111vw, 16px);
    margin-bottom: max(1.111vw, 16px);
}
.enrollment-remove-modal__title {
    font-size: max(1.389vw, 20px);
}
.enrollment-remove-modal__cross {
    flex-shrink: 0;
    width: max(1.389vw, 20px);
    height: max(1.389vw, 20px);
}
.enrollment-remove-modal__cross img {
    width: 100%;
}
.enrollment-remove-modal__text {
    margin-bottom: max(1.389vw, 20px);
    color: rgba(30, 30, 30, 0.7019607843);
    font-size: max(0.972vw, 14px);
}
.enrollment-remove-modal__status {
    margin-bottom: max(1.111vw, 16px);
    color: #da3849;
    font-size: max(0.972vw, 14px);
}
.enrollment-remove-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: max(0.833vw, 12px);
}
.enrollment-remove-modal__button {
    min-width: max(7.639vw, 110px);
    min-height: max(2.778vw, 40px);
    padding-inline: max(1.111vw, 16px);
    border-radius: max(0.556vw, 8px);
    font-size: max(0.972vw, 14px);
}
.enrollment-remove-modal__button._cancel {
    border: max(0.069vw, 1px) solid #365399;
    color: #365399;
}
.enrollment-remove-modal__button._confirm {
    background-color: #da3849;
    color: #fff;
}
.enrollment-remove-modal__button:disabled {
    opacity: 0.6;
    cursor: wait;
}
@media (max-width: 600px) {
    .enrollment-remove-modal {
        width: calc(100% - 32px);
        padding: 20px;
    }
    .enrollment-remove-modal__actions {
        flex-direction: column-reverse;
    }
    .enrollment-remove-modal__button {
        width: 100%;
    }
}
.study-card._expanded .study-card__time-interval {
    margin-bottom: unset;
}
.certificate-card__content ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: max(0.417vw, 4px);
    margin-bottom: max(1.389vw, 16px);
}
.header-side__link, .header-top__link {
    background-color: transparent !important;
    color: #1e1e1e !important;
}
.header-body__link {
    color: #1e1e1e !important;
}
.label._successful-upload._hidden {
    opacity: 0;
    visibility: hidden;
}
.label._successful-upload {
    z-index: 12;
}
.trainers-card__name {
    color: #000;
}
.account-seminars__section {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.account-seminars__slider {
    flex-grow: 1;
}
.account-seminars__slider-track {
    height: 100%;
}
a .account-progress-card__title {
    color: #000;
}
.account-progress .account-progress-card__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.account-progress .account-progress-card__face._back .account-progress-card__list {
    max-height: max(4.167vw, 60px);
    overflow: hidden;
}
.account-progress .account-progress-card__list-item {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.account-other-seminar-card__title,
.account-other-seminar-card__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.account-other-seminar-card__title {
    -webkit-line-clamp: 3;
}
.account-other-seminar-card__text {
    -webkit-line-clamp: 2;
}
.main__trainer .article__image {
    position: relative;
}
.article__image-button {
    width: auto;
    height: auto;
    color: #000;
    background: #e6eaf2;
    position: absolute;
    z-index: 3;
    bottom: 20px;
    padding: 12px 28px 12px 20px;
    left: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.video-modal-trainer .video-modal__video-box {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
}
.video-modal-trainer {
    padding: 0;
}
.article__image-button img {
    width: auto;
    height: auto;
    margin-right: 5px;
}
.home-shop__slider-slide {
    cursor: pointer;
}

.location-map {
    width: 100%;
    height: 500px;
}

.page-response {
    margin-top: 20px;
}

.seminars__heading--compact {
    margin-bottom: max(1.389vw, 16px);
}

.subcategory-description {
    margin-bottom: 40px;
}

.subcategory-description__text {
    font-size: max(1.25vw, 16px);
    color: rgba(30, 30, 30, 0.7);
}
@media (max-width: 600px) {
    .certificate-card__content ul {
        gap: 6px;
        margin-bottom: 20px;
    }
}
.certificate-card__content ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: max(0.556vw, 8px);
    color: rgba(30, 30, 30, 0.7019607843);
    font-size: max(0.972vw, 12px);
}
@media (max-width: 600px) {
    .certificate-card__content ul li {
        font-size: 14px;
    }
}
.certificate-card__content ul li::before {
    content: "";
    display: block;
    width: max(0.347vw, 5px);
    height: max(0.347vw, 5px);
    border-radius: 50%;
    background-color: rgba(30, 30, 30, 0.7019607843);
}
@media (max-width: 834px) {
    .registration.enter {
        width: min(460px, calc(100% - 24px));
    }
    .enter-form__button-custom .button__icon-disc {
        width: max(0.719vw, 3px);
    }
    .account-certificates__list .account-certificates__list-item {
        max-width: 100%;
    }
    .calendar .flatpickr-day {
        max-height: 112px;
    }
    .study-card._expanded .study-card__wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}
.enter-form__button-custom .button__icon-disc:nth-child(2) {
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}
.enter-form__button-custom .button__icon-disc:nth-child(3) {
    -webkit-animation-delay: 400ms;
    animation-delay: 400ms;
}
.enter-form__button-custom._back {
    margin-inline: auto;
    margin-top: max(2.222vw, 20px);
    padding: 0;
    background-color: transparent;
    color: #365399;
}
.enter-form__button-custom._back .button__icon {
    position: static;
    translate: 0;
}
.account-aside__user, .account-aside__progress {
    width: max(14.167vw, 200px);
}
.article__tag {
    height: max-content;
}

.auth-page__status {
    color: #365399;
}

.no-select {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    user-select: none; /* Стандартный синтаксис */
}
.library-modal__image img {
    width: 100%;
}
.library-modal__timetable-hidden {
    display: none;
}
@media (max-width: 600px) {
    .timetable-form._webinars .timetable-form__output-button {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: max(10.208vw, 147px);
        height: max(2.222vw, 32px);
        margin-inline: auto;
        margin-top: max(1.389vw, 20px);
        background-color: #ff9b50;
        color: #fff;
        font-size: max(0.833vw, 12px);
    }
}
@media (width <= 834px) {
    .profile-settings__button:last-child {
        display: none;
    }
    .profile-settings__button-settings {
        display: block;
        margin-bottom: 20px;
        margin-top: 10px;
        width: max(15.906vw, 170px);
    }

.program-banner__heading-text {
    text-transform: uppercase !important;
}

.subheading {
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
}

}

.sign-in.enter.modal,
.registration.enter.modal {
    box-sizing: border-box;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    inset: 0;
    margin: auto;
    padding: 32px;
    border: 0;
    border-radius: 8px;
    background-color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    rotate: 0deg;
    transform: none;
}

.sign-in.enter.modal::-webkit-scrollbar,
.registration.enter.modal::-webkit-scrollbar {
    display: none;
}

.sign-in.enter.modal {
    width: 584px;
    max-width: calc(100% - 24px);
    height: 648px;
}

.registration.enter.modal {
    width: 836px;
    max-width: calc(100% - 24px);
    height: 744px;
}

.sign-in.enter.modal[open],
.registration.enter.modal[open] {
    opacity: 1;
}

.sign-in.enter.modal .enter__inner,
.registration.enter.modal .enter__inner {
    width: 100%;
    padding: 0;
}

.sign-in.enter.modal .enter__heading,
.registration.enter.modal .enter__heading {
    margin: 0;
    color: #1e1e1e;
    font-size: 28px;
    font-weight: 400;
    line-height: 32px;
}

.sign-in.enter.modal .enter__text,
.registration.enter.modal .enter__text {
    margin: 12px 0 0;
    color: #1e1e1e;
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
}

.sign-in.enter.modal .enter__form,
.registration.enter.modal .enter__form {
    margin-top: 24px;
}

.sign-in.enter.modal .enter-form__label,
.registration.enter.modal .enter-form__label {
    margin: 0 0 6px;
    color: rgba(30, 30, 30, 0.8);
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

.sign-in.enter.modal .enter-form__input-wrapper,
.registration.enter.modal .enter-form__input-wrapper {
    height: 60px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background-color: rgba(227, 227, 227, 0.5);
}

.sign-in.enter.modal .enter-form__input-wrapper:focus-within,
.registration.enter.modal .enter-form__input-wrapper:focus-within {
    border-color: rgba(30, 30, 30, 0.5);
}

.sign-in.enter.modal .enter-form__field:has(.enter-form__input.is-invalid) .enter-form__input-wrapper,
.registration.enter.modal .enter-form__field:has(.enter-form__input.is-invalid) .enter-form__input-wrapper,
.registration.enter.modal .enter-form__field.is-invalid .enter-form__input-wrapper {
    border-color: #da3849;
}

.sign-in.enter.modal .enter-form__input,
.registration.enter.modal .enter-form__input {
    min-width: 0;
    height: 100%;
    padding: 0;
    color: #1e1e1e;
    background-color: transparent;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

.sign-in.enter.modal .enter-form__input::placeholder,
.registration.enter.modal .enter-form__input::placeholder {
    color: rgba(30, 30, 30, 0.8);
    opacity: 1;
}

.sign-in.enter.modal .enter-form__input-button,
.registration.enter.modal .enter-form__input-button {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
}

.sign-in.enter.modal .enter-form__error,
.registration.enter.modal .enter-form__error {
    min-height: 24px;
    margin: 0;
    padding: 4px 15px 0;
    color: #da3849;
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    text-decoration: underline;
}

.sign-in.enter.modal .enter-form__button-box,
.registration.enter.modal .enter-form__button-box {
    margin: 0;
}

.sign-in.enter.modal .enter-form__button._next,
.registration.enter.modal .enter-form__button-custom._next,
.sign-in.enter.modal .enter__button._secondary,
.registration.enter.modal .enter__button._secondary {
    width: 100%;
    height: 60px;
    padding: 0;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 300;
    line-height: 24px;
}

.sign-in.enter.modal .enter-form__buttons-border,
.registration.enter.modal .enter-form__buttons-border {
    height: 8px;
    gap: 8px;
    margin: 16px 0;
}

.sign-in.enter.modal .enter-form__border,
.registration.enter.modal .enter-form__border {
    height: 1px;
    background-color: rgba(30, 30, 30, 0.3);
}

.sign-in.enter.modal .enter-form__border-text,
.registration.enter.modal .enter-form__border-text {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 300;
    line-height: 8px;
}

.sign-in.enter.modal .enter-form__policy,
.registration.enter.modal .enter-form__policy {
    margin: 0;
    color: rgba(30, 30, 30, 0.5);
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
}

.sign-in.enter.modal .enter-form__fieldset {
    margin: 0;
}

.sign-in.enter.modal .enter-form__fieldset:not(._password) {
    gap: 12px;
    margin-bottom: 12px;
}

.sign-in.enter.modal .enter-form__fieldset._password {
    height: 24px;
    margin-bottom: 24px;
}

.sign-in.enter.modal .enter-form__checkbox .checkbox__label {
    gap: 10px;
}

.sign-in.enter.modal .enter-form__checkbox .checkbox__icon {
    width: 24px;
    height: 24px;
}

.sign-in.enter.modal .enter-form__checkbox .checkbox__text,
.sign-in.enter.modal .enter-form__button._forget {
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
}

.sign-in.enter.modal .enter-form__policy {
    margin-top: 16px;
}

.registration.enter.modal .enter__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "email phone"
        "full-name city"
        "password password-confirmation"
        "actions actions"
        "policy policy";
    column-gap: 12px;
    row-gap: 12px;
}

.registration.enter.modal .enter-form__fieldset {
    display: contents;
}

.registration.enter.modal .enter-form__field._email {
    grid-area: email;
}

.registration.enter.modal .enter-form__field._phone {
    grid-area: phone;
}

.registration.enter.modal .enter-form__field._full-name {
    grid-area: full-name;
}

.registration.enter.modal .enter-form__field._city {
    grid-area: city;
}

.registration.enter.modal .enter-form__field._password {
    grid-area: password;
}

.registration.enter.modal .enter-form__field._password-confirmation {
    grid-area: password-confirmation;
}

.registration.enter.modal .enter-form__button-box {
    grid-area: actions;
    margin-top: 12px;
}

.registration.enter.modal .enter-form__policy {
    grid-area: policy;
    margin-top: 12px;
}

@media (min-width: 601px) and (max-width: 834px) {
    .sign-in.enter.modal {
        width: 482px;
        height: 644px;
        padding: 36px 24px;
    }

    .registration.enter.modal {
        width: 754px;
        height: 658px;
        padding: 32px 24px;
    }

    .sign-in.enter.modal .enter__heading,
    .registration.enter.modal .enter__heading {
        font-size: 24px;
        line-height: 28px;
    }

    .sign-in.enter.modal .enter__text {
        margin-top: 16px;
        font-size: 16px;
        line-height: 20px;
    }

    .registration.enter.modal .enter__text {
        margin-top: 12px;
        font-size: 16px;
        line-height: 20px;
    }

    .sign-in.enter.modal .enter__form {
        margin-top: 24px;
    }

    .registration.enter.modal .enter__form {
        margin-top: 20px;
    }

    .sign-in.enter.modal .enter-form__label {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 18px;
    }

    .registration.enter.modal .enter-form__label {
        margin-bottom: 6px;
        font-size: 16px;
        line-height: 22px;
    }

    .registration.enter.modal .enter-form__field._password .enter-form__label,
    .registration.enter.modal .enter-form__field._password-confirmation .enter-form__label {
        font-size: 14px;
        line-height: 18px;
    }

    .sign-in.enter.modal .enter-form__input-wrapper,
    .registration.enter.modal .enter-form__input-wrapper {
        height: 50px;
        padding: 0 15px;
        border-radius: 8px;
    }

    .sign-in.enter.modal .enter-form__input,
    .registration.enter.modal .enter-form__input {
        font-size: 16px;
        line-height: 22px;
    }

    .sign-in.enter.modal .enter-form__fieldset:not(._password) {
        gap: 16px;
        margin-bottom: 24px;
    }

    .sign-in.enter.modal .enter-form__fieldset._password {
        margin-bottom: 24px;
    }

    .sign-in.enter.modal .enter-form__button._next,
    .registration.enter.modal .enter-form__button-custom._next,
    .sign-in.enter.modal .enter__button._secondary,
    .registration.enter.modal .enter__button._secondary {
        height: 50px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .sign-in.enter.modal .enter-form__policy {
        margin-top: 24px;
    }

    .registration.enter.modal .enter__form {
        grid-template-areas:
            "email phone"
            "city full-name"
            "password password-confirmation"
            "actions actions"
            "policy policy";
        column-gap: 16px;
    }

    .registration.enter.modal .enter-form__button-box,
    .registration.enter.modal .enter-form__policy {
        margin-top: 8px;
    }
}

@media (max-width: 600px) {
    .sign-in.enter.modal,
    .registration.enter.modal {
        width: 328px;
        max-width: 328px;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        right: auto;
        left: max(16px, calc((100vw - 328px) / 2));
        margin-inline: 0;
        padding: 28px 20px;
        border-radius: 10px;
        transform: none;
    }

    .sign-in.enter.modal {
        height: 595px;
    }

    .registration.enter.modal {
        height: 859px;
    }

    .sign-in.enter.modal .enter__heading,
    .registration.enter.modal .enter__heading {
        font-size: 20px;
        line-height: 24px;
    }

    .sign-in.enter.modal .enter__text {
        margin-top: 10px;
        font-size: 16px;
        line-height: 20px;
    }

    .registration.enter.modal .enter__text {
        margin-top: 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .sign-in.enter.modal .enter__form {
        margin-top: 20px;
    }

    .registration.enter.modal .enter__form {
        margin-top: 16px;
    }

    .sign-in.enter.modal .enter-form__label {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 18px;
    }

    .registration.enter.modal .enter-form__label {
        margin-bottom: 6px;
        font-size: 14px;
        line-height: 18px;
    }

    .registration.enter.modal .enter-form__field._password .enter-form__label,
    .registration.enter.modal .enter-form__field._password-confirmation .enter-form__label {
        margin-bottom: 10px;
    }

    .sign-in.enter.modal .enter-form__input-wrapper,
    .registration.enter.modal .enter-form__input-wrapper {
        height: 44px;
        padding: 0 15px;
        border-radius: 8px;
    }

    .sign-in.enter.modal .enter-form__input,
    .registration.enter.modal .enter-form__input {
        font-size: 14px;
        line-height: 18px;
    }

    .sign-in.enter.modal .enter-form__input-button,
    .registration.enter.modal .enter-form__input-button {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
    }

    .sign-in.enter.modal .enter-form__fieldset:not(._password) {
        gap: 16px;
        margin-bottom: 20px;
    }

    .sign-in.enter.modal .enter-form__fieldset._password {
        height: 18px;
        margin-bottom: 20px;
    }

    .sign-in.enter.modal .enter-form__checkbox .checkbox__label {
        gap: 8px;
    }

    .sign-in.enter.modal .enter-form__checkbox .checkbox__icon {
        width: 16px;
        height: 16px;
    }

    .sign-in.enter.modal .enter-form__checkbox .checkbox__text,
    .sign-in.enter.modal .enter-form__button._forget {
        font-size: 14px;
        line-height: 18px;
    }

    .sign-in.enter.modal .enter-form__button._next,
    .registration.enter.modal .enter-form__button-custom._next,
    .sign-in.enter.modal .enter__button._secondary,
    .registration.enter.modal .enter__button._secondary {
        height: 44px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .sign-in.enter.modal .enter-form__buttons-border,
    .registration.enter.modal .enter-form__buttons-border {
        height: 7px;
        margin: 10px 0;
    }

    .sign-in.enter.modal .enter-form__border-text,
    .registration.enter.modal .enter-form__border-text {
        font-size: 10px;
        line-height: 7px;
    }

    .sign-in.enter.modal .enter-form__policy,
    .registration.enter.modal .enter-form__policy {
        font-size: 12px;
        line-height: 16px;
    }

    .sign-in.enter.modal .enter-form__policy {
        margin-top: 20px;
    }

    .registration.enter.modal .enter__form {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "phone"
            "email"
            "city"
            "full-name"
            "password"
            "password-confirmation"
            "actions"
            "policy";
        gap: 12px 0;
    }

    .registration.enter.modal .enter-form__button-box,
    .registration.enter.modal .enter-form__policy {
        margin-top: 4px;
    }
}

@media (max-width: 359px) {
    .sign-in.enter.modal,
    .registration.enter.modal {
        width: calc(100vw - 17px);
        max-width: calc(100vw - 17px);
    }
}
