/* Styles for Wooweb Burbuja Emergente */
.wooweb-bubble-container {
    position: fixed;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    transform: translateY(20px);
    animation: woowebFadeInUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    animation-delay: 0.5s;
}

/* Position options */
.wooweb-bubble-pos-bottom-right {
    bottom: 30px;
    right: 30px;
}

.wooweb-bubble-pos-bottom-left {
    bottom: 30px;
    left: 30px;
}

.wooweb-bubble-pos-top-right {
    top: 30px;
    right: 30px;
}

.wooweb-bubble-pos-top-left {
    top: 30px;
    left: 30px;
}

/* The core floating bubble button */
.wooweb-bubble-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
    overflow: visible;
}

/* Inside SVGs or icons */
.wooweb-bubble-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

/* Hover effects */
.wooweb-bubble-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
}

.wooweb-bubble-btn:hover svg {
    transform: rotate(8deg) scale(1.05);
}

/* Active/Press state */
.wooweb-bubble-btn:active {
    transform: scale(0.95) translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pulse waves animation */
.wooweb-bubble-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.4;
    z-index: -1;
    animation: woowebPulse 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.wooweb-bubble-pulse-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.2;
    z-index: -1;
    animation: woowebPulse 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    animation-delay: 0.8s;
}

/* Animations declarations */
@keyframes woowebFadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes woowebPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Tooltip style */
.wooweb-bubble-tooltip {
    position: absolute;
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 1000;
}

/* Tooltip positions */
.wooweb-bubble-pos-bottom-right .wooweb-bubble-tooltip,
.wooweb-bubble-pos-top-right .wooweb-bubble-tooltip {
    right: 75px;
    transform: translateX(10px);
}

.wooweb-bubble-pos-bottom-left .wooweb-bubble-tooltip,
.wooweb-bubble-pos-top-left .wooweb-bubble-tooltip {
    left: 75px;
    transform: translateX(-10px);
}

.wooweb-bubble-btn:hover .wooweb-bubble-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wooweb-bubble-container {
        bottom: 20px;
        right: 20px;
    }
    .wooweb-bubble-pos-bottom-left {
        bottom: 20px;
        left: 20px;
    }
    .wooweb-bubble-pos-top-right {
        top: 20px;
        right: 20px;
    }
    .wooweb-bubble-pos-top-left {
        top: 20px;
        left: 20px;
    }
    .wooweb-bubble-btn {
        width: 52px;
        height: 52px;
    }
    .wooweb-bubble-btn svg {
        width: 24px;
        height: 24px;
    }
}
