.page-nav-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
}

.page-nav-button {
    display: inline-flex;
    min-width: 58px;
    min-height: 36px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid rgba(177, 199, 233, 0.72);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(237, 244, 255, 0.94));
    box-shadow: 0 4px 12px rgba(39, 74, 125, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #285084;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.page-nav-button svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.page-nav-button:hover {
    border-color: rgba(83, 127, 189, 0.78);
    box-shadow: 0 6px 16px rgba(39, 74, 125, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    color: #173f75;
    transform: translateY(-1px);
}

.page-nav-button:active {
    box-shadow: 0 2px 7px rgba(39, 74, 125, 0.14);
    transform: translateY(0);
}

.page-nav-button:focus-visible {
    outline: 3px solid rgba(68, 126, 211, 0.25);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .page-nav-button {
        min-width: 54px;
        min-height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 380px) {
    .page-nav-actions {
        gap: 5px;
    }

    .page-nav-button {
        width: 34px;
        min-width: 34px;
        padding: 0;
    }

    .page-nav-button span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
