.storage-widget .file-item {
    margin-bottom: 15px;
}

.storage-widget .thumbnail {
    padding: 5px;
    margin-bottom: 0;
}

.storage-widget .thumbnail img {
    height: 120px;
    object-fit: cover;
    width: 100%;
}

.storage-widget .audio-preview {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.storage-widget .audio-player {
    width: 100%;
}

.storage-widget .caption {
    padding: 5px 0 0;
}

.storage-widget .directory-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.storage-widget .directory-group:last-child {
    border-bottom: none;
}

.storage-widget .directory-group h5 {
    margin-top: 0;
    color: #666;
}

.storage-widget .progress {
    margin-top: 10px;
    height: 20px;
}

.storage-widget .existing-files-list .thumbnail {
    //height: 120px;
}

.storage-widget .existing-files-list .thumbnail img {
    height: 80px;
    object-fit: cover;
}

.storage-widget .glyphicon-spin {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}








.multi_modal_w_trigger {
    display: inline-block;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 0;
    transition: background 0.3s;
}

.multi_modal_w_trigger:hover {
    background: #0056b3;
}

.multi_modal_w_trigger.multi_modal_w_active {
    background: #28a745;
}

/* Простые стили для содержимого */
.multi_modal_w_content {
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}

.multi_modal_w_content.multi_modal_w_visible {
    display: block;
}

.multi_modal_w_title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.multi_modal_w_text {
    color: #666;
    line-height: 1.5;
}