

/* Start:/local/templates/main/components/bitrix/news.list/uai-documents/style.css?17834221342064*/
.documents-section .section-title {
    color: var(--title-color);
    font-weight: 600;
    border-bottom: 2px solid #e9ecef !important;
}

.document-group {
    border-left: 4px solid #007bff;
    transition: all 0.2s ease;
}

.document-group:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.year-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

.year-title .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

.card-header {
	color: var(--title-color);
}


.file-item {
    background-color: #f8f9fa;
    transition: background-color 0.15s ease;
}

.file-item:hover {
    background-color: #e9ecef;
}

.file-icon {
    min-width: 40px;
    text-align: center;
}

.file-icon .fa-file-pdf-o {
    color: #dc3545 !important;
}

.file-link {
    color: var(--title-color);
    text-decoration: none;
    word-break: break-word;
}

.file-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.file-actions .btn {
    padding: 0.2rem 0.6rem;
}

.file-item-small {
    font-size: 0.9rem;
}

/* Табличный вариант */
.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: var(--title-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .file-item {
        flex-wrap: wrap;
    }
    
    .file-info {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .file-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .file-actions .btn {
        flex: 1;
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .file-item {
        flex-direction: column;
        text-align: center;
    }
    
    .file-icon {
        margin: auto 0;
    }
    
    .file-actions {
        justify-content: center;
    }
    
    /* Для таблицы на мобильных */
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
    }
}
/* End */
/* /local/templates/main/components/bitrix/news.list/uai-documents/style.css?17834221342064 */
