

/* Start:/local/components/dentis-ural/news.list/templates/works/styles.css?17722254652570*/
/**
 * Стили для AJAX-фильтрации и пагинации
 * Шаблон works компонента news.list
 */

/* Контейнер списка работ */
.ajax-block {
    position: relative;
    min-height: 200px;
}

/* Состояние загрузки */
.ajax-block.ajax-loading {
    position: relative;
}

.ajax-block.ajax-loading .work-item {
    opacity: 0.5;
    pointer-events: none;
}

/* Лоадер */
.ajax-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ajax-loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Пагинация */
.ajax-pagination {
    margin-top: 30px;
}

.page-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.page-navigation__item-no-vue {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.page-navigation__item-no-vue:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
}

.page-navigation__item-no-vue.active {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
    cursor: default;
}

/* Адаптивность пагинации */
@media (max-width: 768px) {
    .page-navigation {
        gap: 3px;
    }
    
    .page-navigation__item-no-vue {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* Сообщение об отсутствии элементов */
.ajax-block .no-items {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* Плавное появление элементов */
.ajax-item {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Фильтры */
.filter {
    margin-bottom: 30px;
}

.filter-item {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.filter-item:hover {
    opacity: 0.8;
}

.filter-item.active {
    font-weight: bold;
    color: #3498db;
}

/* End */
/* /local/components/dentis-ural/news.list/templates/works/styles.css?17722254652570 */
