/* CSS for Custom Pagination (duhocinec style) */
.pagination-achive-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Adjust spacing between numbers */
    margin-top: 20px;
    margin-bottom: 20px;
}

.pagination-achive-custom a.page-numbers,
.pagination-achive-custom span.page-numbers {
    display: inline-flex; /* Use flexbox for centering text */
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 2px solid #ccc; /* Default border color */
    border-radius: 50%; /* Make it circular */
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* Active Page Style */
.pagination-achive-custom span.page-numbers.current {
    border-color: #0F61E1; /* Active border color */
    background-color: #0F61E1; /* Active background */
    color: #fff;
    cursor: default;
}

/* Hover State */
.pagination-achive-custom a.page-numbers:hover {
    border-color: #0F61E1;
    color: #0F61E1;
}

/* "Trang sau" (Next) Button Customization */
.pagination-achive-custom a.next.page-numbers {
    width: auto; /* Allow auto width for text */
    padding: 0 15px;
    border-radius: 20px; /* Rounded pill shape for text buttons */
}

/* Remove border for generic dots if any */
.pagination-achive-custom span.dots {
    border: none;
    width: auto;
}
