/* Base styles (desktop) */
.floating-btn-group {
    position: fixed;
    top: 40%;
    right: 40px;
    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: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-white);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    position: relative;
    transition: background 0.3s, transform 0.2s;
}

.float-btn:hover {
    background: var(--color-secondary-blue);
    transform: scale(1.1);
}

.float-btn::after {
    content: attr(data-label);
    position: absolute;
    left: -10px;
    transform: translate(-100%, -50%);
    top: 50%;
    background: var(--color-primary-blue);
    color: var(--color-primary-white);
    font-size: 13px;
    padding: 10px 15px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.float-btn:hover::after {
    opacity: 1;
    transform: translate(-110%, -50%);
    background: var(--color-secondary-blue);
}

/* Tablet view (768px - 1024px) */
@media (max-width: 1024px) {
    .floating-btn-group {
        top: 35%;
        right: 30px;
        gap: 10px;
    }

    .float-btn {
        width: 36px;
        height: 36px;
    }

    .float-btn::after {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* Mobile view (up to 767px) */
@media (max-width: 767px) {
    .floating-btn-group {
        top: 30%;
        right: 20px;
        gap: 8px;
    }

    .float-btn {
        width: 32px;
        height: 32px;
        padding: 5px;
    }

    .float-btn img{
        width: 100%;
    }

    .float-btn::after {
        font-size: 11px;
        padding: 6px 10px;
    }
}
