.modern-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.modern-pagination a, 
.modern-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #0000001A;
    background-color: #ffffff;
    color: #383838;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.modern-pagination .nav-pages {
    display: flex;
    gap: 6px;
}

.modern-pagination .nav-page {
    padding: 0;
    width: 40px;
}

/* Состояние при наведении */
.modern-pagination a:hover {
    background-color: #F3F5F6;
    color: #383838 !important;
    scale: 1 !important;
}

/* Активная страница */
.modern-pagination .current {
    background-color: #3FAFB0;
    border-color: #3FAFB0;
    color: #ffffff;
    cursor: default;
}

/* Неактивные кнопки Назад/Вперед */
.modern-pagination .disabled {
    border-color: #D9D9D9;
    color: #D9D9D9;
    cursor: not-allowed;
}

.modern-pagination .disabled svg path {
	stroke: #D9D9D9;
}