/* Чёрно-фиолетовые motion-стили для пагинации */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-family: "Inter", sans-serif;
}

.page-btn {
    padding: 6px 10px;
    border: 1px solid #2a2a2a;
    background: #121212;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 12px;
    min-width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3a6ff;
    position: relative;
    overflow: hidden;
}

/* Hover — фиолетовое свечение */
.page-btn:hover {
    background: #1c1c1c;
    border-color: #6d4aff;
    color: #e0d7ff;
    box-shadow: 0 0 8px rgba(109, 74, 255, 0.4);
    transform: translateY(-2px);
}

/* Active — яркий акцент */
.page-btn.active {
    background: linear-gradient(135deg, #6d4aff, #9b6dff);
    color: white;
    border-color: #6d4aff;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(109, 74, 255, 0.6);
    transform: scale(1.05);
}

/* Disabled */
.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #1a1a1a;
    border-color: #2a2a2a;
    color: #555;
    box-shadow: none;
    transform: none;
}

/* Иконки внутри кнопок */
.page-btn i {
    font-size: 11px;
}

/* Инфо о страницах */
.pagination-info {
    margin: 0 12px;
    color: #aaa;
    font-size: 12px;
    white-space: nowrap;
}

/* Контролы */
.pagination-controls {
    display: flex;
    gap: 6px;
}

/* Выбор количества элементов */
.per-page-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #b3a6ff;
}

.per-page-selector select {
    padding: 4px 8px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    background: #121212;
    font-size: 12px;
    height: 28px;
    color: #dcd0ff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.per-page-selector select:focus {
    outline: none;
    border-color: #6d4aff;
    box-shadow: 0 0 6px rgba(109, 74, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 768px) {
    .per-page-selector {
        justify-content: center;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-info {
        margin: 4px 8px;
    }
}




        .error {
            background: #fee;
            color: #c33;
            padding: 8px 12px;
            border-radius: 3px;
            margin: 8px 0;
            font-size: 11px;
        }
        
        
    