.pagination {
    display: flex;
    /* Use flexbox for layout */
    justify-content: center;
    /* Center the pagination links */
    margin: 20px 0;
    /* Add margin above and below */
}

.pagination a {
    display: inline-block;
    /* Make links inline blocks */
    padding: 10px 15px;
    /* Add padding for better clickability */
    margin: 0 5px;
    /* Space between links */
    text-decoration: none;
    /* Remove underline from links */
    color: #007bff;
    /* Link color */
    border: 1px solid #007bff;
    /* Border around links */
    border-radius: 5px;
    /* Rounded corners */
    transition: background 0.3s, color 0.3s;
    /* Transition for hover effects */
}

.pagination a:hover {
    background-color: #007bff;
    /* Change background color on hover */
    color: white;
    /* Change text color on hover */
}

.pagination a.active {
    background-color: #007bff;
    /* Active page background color */
    color: white;
    /* Active page text color */
    border: 1px solid #007bff;
    /* Keep the active page border */
    pointer-events: none;
    /* Prevent clicking on the active link */
}

.pagination a.disabled {
    color: #6c757d;
    /* Disabled link color */
    border: 1px solid #6c757d;
    /* Disabled link border */
    pointer-events: none;
    /* Prevent clicking on disabled links */
    opacity: 0.6;
    /* Slightly faded appearance */
}
