/* Container styling */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center; /* Vertically aligns items */
}

/* Individual page number styling */
.pagination .page-numbers {
    margin: 0 5px;
}

/* Link styling */
.pagination .page-numbers a,
.pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ED1E28;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ED1E28;
    border-radius: 5px;
    height: 40px; /* Sets a fixed height for uniformity */
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.pagination .page-numbers a:hover {
    background-color: #ED1E28;
    color: #ffffff;
}

/* Active page styling */
.pagination .page-numbers.active {
    background-color: #ED1E28;
    color: #ffffff;
    border-radius: 5px;
}

.pagination .page-numbers.active span {
    color: #ffffff;
    font-weight: bold;
}

/* First and Last button styling */
.pagination .first_last {
    font-size: 14px;
    color: #ED1E28;
}

.pagination .first_last:hover {
    color: black;
}

/* SVG icon styling */
.pagination .icon-tabler-book {
    vertical-align: middle;
    margin-left: 5px;
    color: inherit;
}

#border {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ED1E28;
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ED1E28;
    border-radius: 5px;
    height: 40px; /* Sets a fixed height for uniformity */
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}
