/* Плавающая панель навигации по странице */
.page-nav-panel {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

.page-nav-btn {
    width: 44px;
    height: 44px;
    background: #1e293b;
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    padding: 0;
}

.page-nav-btn:hover {
    background: #334155;
    transform: scale(1.05);
}

.page-nav-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.page-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .page-nav-panel {
        right: 10px;
        padding: 8px;
        gap: 6px;
        border-radius: 14px;
    }

    .page-nav-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .page-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}
