.fab-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.fab-wrapper.left {
    right: auto;
    left: 20px;
}

.fab-main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.fab-main:hover, .fab-main:focus, .fab-main.active {
    background-color: #006FD1 !important;
    transition: all 0.3s ease-in-out;
}

.fab-main:hover img, .fab-main:focus img, .fab-main.active img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7493%) hue-rotate(104deg) brightness(91%) contrast(118%);
}

.fab-main img {
    width: 30px;
    height: 100%;
    object-fit: cover;
}

.fab-children {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    visibility: hidden;
    opacity: 0;
    justify-content: center;
    align-items: center; 
}

.fab-wrapper.left .fab-children {
    right: auto;
    left: 0;
}

.fab-children.visible {
    visibility: visible;
    opacity: 1;
}

.fab-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 50%;
    color: #fff;
    background-color: #D3DCFF;
    text-decoration: none;
    position: relative;
}

.fab-child:hover, .fab-child:focus {
    background-color: #006FD1;
}

.fab-child:hover .fab-label, .fab-child:focus .fab-label {
    background-color: #006FD1;
    transition: all 0.3s ease-in-out;
    color: #fff;
}

.fab-child:hover img, .fab-child:focus img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7493%) hue-rotate(104deg) brightness(91%) contrast(118%);
}


.fab-child:last-child {
    margin-bottom: 0;
}

.fab-child img {
    width: 25px;
    height: 25px;
    object-fit: cover;
}

.fab-label {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: absolute;
    font-size: 14px;
    top: 20px;
    right: 70px;
    background-color: #D3DCFF;
    color: #000;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.fab-label:hover, .fab-label:focus {
    background-color: #006FD1;
    transition: all 0.3s ease-in-out;
}

.fab-child:hover .fab-label {
    opacity: 1;
}

.fab-wrapper.left .fab-label {
    left: 70px;
    right: auto;
}