.popup-window:not([id^="smartFilterDropDown"]) {
    padding: 42px;
    border-radius: 20px;
    background-color: var(--main-color);
}
.popup-window.--open:not([id^="smartFilterDropDown"])  {
    display: block;
    position: fixed !important;
    top: 50% !important;
    max-width: 508px;
    margin: 0 auto;
    width: 100%;
    transform: translateY(-45%);
    opacity: 0;
    z-index: 55;
    transition: transform .15s ease-out, opacity .15s ease-out;
}

.popup-window-titlebar {
    height: auto;
}

.popup-window.popup-window-with-titlebar {
    padding: 42px;
}

.popup-window-with-titlebar .popup-window-content {
    padding: 0;
}

.popup-window-titlebar-text  {
    font-size: 40px;
    font-weight: 700;
    line-height: 100%;
    color: var(--white-color);
    margin-bottom: 24px;
    text-overflow: unset;
    white-space: unset;
    overflow: unset;
}


.popup-window.visible:not([id^="smartFilterDropDown"]) {
    opacity: 1;
    transform: translateY(-51%);
}
.popup-window:not([id^="smartFilterDropDown"]) .close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    cursor: pointer;
    background: url('img/close-modal.svg') center / contain no-repeat;
    z-index: 10;
}

.popup-window-overlay {
    position: fixed;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.4);
    transition: .3s ease-out;
    opacity: 1;
}

.popup-window:not([id^="smartFilterDropDown"]) form .form-table input {
    width: 100%;
    flex: 1;
}


.popup-window:not([id^="smartFilterDropDown"]) .popup-window-buttons > span {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    padding: 18px 20px;
    font-size: var(--p2-size);
    font-weight: var(--fw600);
    background-color: var(--gray-black);
    color: var(--white-color);
    border-radius: 38px;
    margin-bottom: 12px;
    cursor: pointer;
}

.popup-window:not([id^="smartFilterDropDown"]) .form-agreement {
    opacity: 0.6;
    color: var(--white-color);
    font-size: var(--p1-size);
    font-weight: var(--fw600);
}

.popup-window:not([id^="smartFilterDropDown"]) .close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 1;
    background: #FFFFFF4D;
    cursor: pointer;
    z-index: 10;
}

.close-modal::after {
    content: none;
}

.popup-window:not([id^="smartFilterDropDown"]) .close-modal svg {
    stroke: var(--white-color);
}
