.pagination {
    margin: 50px auto;
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    background: #f5f5f5;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pagination a:hover {
    background: #122d86;
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: #e30513;
    color: white;
    border-color: #e30513;
    cursor: default;
}

.pagination .dots {
    padding: 0 8px;
    font-size: 1.2rem;
    background: transparent;
    cursor: default;
}

.pagination .prev,
.pagination .next {
    background: #122d86;
    color: white;
    font-weight: 700;
}

.pagination .prev:hover,
.pagination .next:hover {
    background: #0d1f61;
}

@media (max-width: 600px) {
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}