.body-progress {
    /*cursor: progress !important;*/
}

.block-links .panel.panel-primary {
    border: 1px solid transparent;
    box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%);
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

.jsoxModal div.panel-heading {
    border: 1px solid transparent;
    box-shadow: 0 2px 5px 1px rgb(64 60 67 / 16%);
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
}

.block-links .text-download {
    font-size: 20px;
    margin-left: 10px;
}

.block-links .panel-title {
    margin-bottom: 0px;
}

/* Загальний контейнер */
.block-links .block-files .block-links {
    background: #f9f9f9;
    border-radius: 12px;
    /*padding: 20px;*/
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /*max-width: 700px;*/
    margin: 20px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Заголовки категорій */
.block-links .block-files .block-links .subtype_title h4 {
    margin: 20px 0 10px;
    font-size: 18px;
    color: #333;
    border-left: 4px solid #4a90e2;
    padding-left: 10px;
}

/* Картки форматів */
.block-links .block-files .block-links .title-file {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Ховер ефект */
.block-links .block-files .block-links .title-file:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Посилання */
.block-links .block-files .block-links .title-file a {
    text-decoration: none;
    color: #333;
    display: block;
}

/* Назва формату */
.block-links .block-files .block-links .title-file strong {
    font-size: 16px;
    color: #054b7d;
    margin-right: 8px;
}

/* Розмір файлу */
.block-links .block-files .block-links .title-file span {
    font-size: 14px;
    color: #666;
}

/* Опис */
.block-links .block-files .block-links .file-text {
    margin-top: 8px;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}

.jsoxModal .jsoxModal_in {
    max-height: calc(95vh);
    overflow-y: auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    z-index: 99999;
    width: max-content;
    box-sizing: border-box;
    max-width: 90%;
    background: #fff;
    padding: 15px 20px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -o-border-radius: 8px;
    -ms-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px #000;
    -moz-box-shadow: 0 0 10px #000;
    -o-box-shadow: 0 0 10px #000;
    -ms-box-shadow: 0 0 10px #000;
    box-shadow: 0 0 10px #000;
    text-align: left;
}

.jsoxModal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 99998;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.65);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .jsoxModal {
        padding: 0px;
    }

    .jsoxModal h3 {
        font-size: 20px;
    }

    .block-links .fa.fa-download,
    .block-links .text-download {
        font-size: 15px;
    }

    .jsoxModal div.panel-heading {
        margin-left: 5px;
        margin-right: 5px;
    }

    .jsoxModal .jsoxModal_in {
        padding: 10px 5px;
    }

    .block-links .block-files .block-links {
        margin-top: 10px;
        margin: 5px 5px;

    }

    .block-links .panel.panel-primary {
        padding: 5px;
    }
}