/* The following is the style for pagination */

.parent-container-for-pagination {
    margin: 10px 30px;
    justify-content: center;
}

.pagination-container {

    width: 398px;
    height: 69px;
    /* background-color: #FFFAF4; */
    border-radius: 10px;
    /* color: #2F4D01; */
}

.pagination-content-container {
    padding: 10px 15px;
    height: 100%;
    border-radius: 8px;
    gap: 10px;
    width: 100%;
}

.cursor-pointer {
    cursor: pointer;
    
}

.counting-number-container {
    width: 251px;
}

.counting-number-container span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    cursor: pointer;
    /* background-color: #FFFAF4; */
    color: #4C4C4C;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    transition: background-color 0.3s, color 0.3s;
    transition: all 0.2s ease;
}

.counting-number-container span:hover {
    background-color: #f0f0f0;
    transition: all 0.2s ease;
}
.counting-number-container span.active {
    background-color: black; 
    color: white;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

#pagination-next-btn:hover,#pagination-back-btn:hover {
    background-color: #f0f0f0 !important;
    transition: all 0.2s ease;
}
/* Applied directly to the button container (div) */
#pagination-back-btn.disabled,
#pagination-next-btn.disabled {
    pointer-events: none;
}

#pagination-back-btn.enabled,
#pagination-next-btn.enabled {
    width: 39px;
    height: 39px;
    border: 2px solid black;
    background-color: #FFFFFF;
    border-radius: 4px;
    cursor: pointer;
    
}

.pagination-btn {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
/* end of style for pagination */

[lang="ar"] {
    #pagination-back-btn, #pagination-next-btn {
        transform: rotate(180deg);
    }
}