.downloads_list li {
    cursor: pointer;
}

body.popup_open {
    overflow: hidden;
}

.download_popup_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

.download_popup {
    position: relative;

    width: 100%;
    max-width: 500px;

    background: #fff;
    border-radius: 12px;

    padding: 30px;

    box-sizing: border-box;

    animation: popupFade 0.2s ease;
}

.popup_close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 36px;
    height: 36px;

    border: 0;
    background: transparent;

    font-size: 28px;
    line-height: 1;

    cursor: pointer;
}

.popup_title {
    font-size: 24px;
    font-weight: 700;

    margin-bottom: 20px;
}

.popup_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.download_btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 90px;
    height: 46px;

    padding: 0 20px;

    background: var(--color-primary);
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;
    border-radius: 8px;

    transition: 0.2s ease;

    cursor: pointer;
}

.download_btn:hover {
    background: #333;
}

@media (max-width: 600px) {

    .download_popup {
        padding: 24px 18px;
    }

    .popup_title {
        font-size: 20px;
    }

    .download_btn {
        width: 100%;
    }
}

@keyframes popupFade {

    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}