.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background-color: #1a3a6c;
    border-radius: 34px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.floating-sidebar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    position: relative;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.floating-sidebar__item:first-child {
    border-radius: 34px 34px 0 0;
}

.floating-sidebar__item:last-child {
    border-radius: 0 0 34px 34px;
}

.floating-sidebar__item:hover {
    background-color: #ffffff;
    color: #1a3a6c;
}

.floating-sidebar__item svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.3s ease;
}

.floating-sidebar__item .sidebar-icon-filled {
    fill: currentColor;
    stroke: none;
}

.floating-sidebar__divider {
    width: 32px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.floating-sidebar__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background-color: #6b7280;
    color: #ffffff;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    pointer-events: none;
}

.floating-sidebar__item:hover .floating-sidebar__badge {
    background-color: #1a3a6c;
    color: #ffffff;
}

.floating-sidebar__back-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.floating-sidebar__back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 768px) {
    .floating-sidebar {
        right: 10px;
        border-radius: 26px;
    }

    .floating-sidebar__item {
        width: 52px;
        height: 52px;
    }

    .floating-sidebar__item:first-child {
        border-radius: 26px 26px 0 0;
    }

    .floating-sidebar__item:last-child {
        border-radius: 0 0 26px 26px;
    }

    .floating-sidebar__item svg {
        width: 22px;
        height: 22px;
    }
}
