   .floating-btn-group {
        position: fixed;
        top: 40%;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 9999;
        transition: opacity 0.3s ease;
    }

    .floating-btn-group.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .float-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #000F73;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        text-decoration: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
        position: relative; /* needed for tooltip positioning */
        transition: background 0.3s, transform 0.2s;
    }

    .float-btn:hover {
        background: #041aa7;
        transform: scale(1.1);
    }

    /* Tooltip (button label) */
    .float-btn::after {
        content: attr(data-label);
        position: absolute;
        left: -10px; /* start slightly overlapping the button */
        transform: translate(-100%, -50%); /* ✅ moves tooltip fully to the left side */
        top: 50%;
        background: #000F73;
        color: #fff;
        font-size: 13px;
        padding: 10px 15px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* Show tooltip on hover */
    .float-btn:hover::after {
        opacity: 1;
        transform: translate(-110%, -50%); /* ✅ adds slight slide-out animation to the left */
    }

/* ---------- MOBILE VIEW ---------- */
@media (max-width: 768px) {
    .floating-btn-group {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        gap: 8px;
    }

    .float-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}