/* Pagination moderne pour CineStream */

/* Conteneur de pagination */
#pagination-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Boutons de pagination */
.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination-btn:disabled {
    cursor: not-allowed;
}

.pagination-btn.bg-indigo-600 {
    font-weight: 600;
    border-color: rgba(99, 102, 241, 0.5);
}

/* Sélecteur nombre par page */
#per-page {
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    min-width: 80px;
}

#per-page:hover {
    border-color: rgba(99, 102, 241, 0.5);
}

#per-page option {
    background-color: #1a1a2e;
    color: white;
}

/* Info pagination */
#pagination-info {
    white-space: nowrap;
}

/* Ellipses */
#pagination-container span {
    display: inline-flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 640px) {
    .pagination-btn {
        min-width: 36px;
        height: 36px;
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    #pagination-info {
        width: 100%;
        text-align: center;
        order: -1;
    }
}

/* Animation des icônes Feather */
.pagination-btn svg {
    width: 16px;
    height: 16px;
}
