/* Floating WhatsApp Button Styles */
.sm-wa-floating-container {
    position: fixed;
    bottom: 25px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sm-wa-pos-right {
    right: 25px;
    flex-direction: row-reverse;
}

.sm-wa-pos-left {
    left: 25px;
    flex-direction: row;
}

.sm-wa-floating-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none !important;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sm-wa-floating-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.sm-wa-icon {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

/* Pulsing effect */
.sm-wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.6;
    animation: sm-wa-pulse-anim 2s infinite;
    z-index: -1;
}

@keyframes sm-wa-pulse-anim {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* Tooltip Bubble */
.sm-wa-tooltip {
    background-color: #ffffff;
    color: #1f2937;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0.95;
    animation: sm-wa-fadein 0.5s ease;
}

@keyframes sm-wa-fadein {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .sm-wa-floating-container {
        bottom: 20px;
    }
    .sm-wa-pos-right {
        right: 18px;
    }
    .sm-wa-pos-left {
        left: 18px;
    }
    .sm-wa-floating-btn {
        width: 52px;
        height: 52px;
    }
    .sm-wa-icon {
        width: 28px;
        height: 28px;
    }
    .sm-wa-tooltip {
        display: none; /* Hemat ruang di layar HP */
    }
}
