.iy-floating-button-wrap {
    position: fixed;
    z-index: 9999;
    display: flex;
    align-items: center;
    pointer-events: none; /* Let clicks pass through the wrapper itself */
}

.iy-floating-button-wrap.position-bottom-right {
    bottom: 20px;
    right: 20px;
    flex-direction: row-reverse;
}

.iy-floating-button-wrap.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.iy-floating-button-wrap.position-top-right {
    top: 20px;
    right: 20px;
    flex-direction: row-reverse;
}

.iy-floating-button-wrap.position-top-left {
    top: 20px;
    left: 20px;
}

.iy-floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Default WhatsApp Color */
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    pointer-events: auto; /* Enable clicks on the button */
    overflow: hidden;
}

.iy-floating-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.iy-floating-button i {
    font-size: 30px;
    line-height: 1;
}

.iy-floating-button svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.iy-floating-button img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.iy-fb-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* Tooltip Styles */
.iy-fb-tooltip {
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.iy-floating-button:hover ~ .iy-fb-tooltip,
.iy-floating-button-wrap:hover .iy-fb-tooltip {
    opacity: 1;
    visibility: visible;
}

.iy-floating-button-wrap.position-bottom-right .iy-fb-tooltip,
.iy-floating-button-wrap.position-top-right .iy-fb-tooltip {
    margin-right: 15px;
    margin-left: 0;
}

/* Tooltip Arrow */
.iy-fb-tooltip::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
}

.iy-floating-button-wrap.position-bottom-right .iy-fb-tooltip::after,
.iy-floating-button-wrap.position-top-right .iy-fb-tooltip::after {
    left: 100%;
    border-color: transparent transparent transparent #333;
}

.iy-floating-button-wrap.position-bottom-left .iy-fb-tooltip::after,
.iy-floating-button-wrap.position-top-left .iy-fb-tooltip::after {
    right: 100%;
    border-color: transparent #333 transparent transparent;
}
