/* Стили для попапа */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;

}

.popup-overlay.active {
    display: flex;
    cursor: pointer;
}

.popup-container {
    position: relative;
    z-index: 9999;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);*/
    background: #042036;
    padding: 30px;
}

.popup-container .b24-form {
    width: 100% !important;
}
/* Адаптивность */
@media (max-width: 768px) {
    .popup-container {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Стили для содержимого попапа */
.popup-content {
    /*position: relative;
    padding: 30px;
    min-width: 300px;*/
}

.popup-close {
    position: absolute;
    top: 0;
    right: 10px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s;
}

.popup-close:hover {
    color: #fff;
}
