.wqb-quote-bubble {
    position: fixed;
    z-index: 9999;
    max-width: 300px;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    transition: all 0.3s ease;
    animation: wqb-fade-in 1s ease-out;
}

.wqb-quote-bubble:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
}

.wqb-quote-text {
    font-style: italic;
    margin-bottom: 10px;
    font-weight: 500;
    margin-top: 15px;
}

.wqb-quote-author {
    text-align: right;
    font-size: 0.9em;
    opacity: 0.8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes wqb-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wqb-quote-bubble {
        max-width: 90%;
        font-size: 14px;
    }
}

.wqb-close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    opacity: 0.6;
    transition: opacity 0.2s;
    z-index: 10000;
    /* Ensure it's above everything else in the bubble */
}

.wqb-close-btn:hover {
    opacity: 1;
}

.wqb-dissipate {
    animation: wqb-smoke-dissipate 0.8s forwards ease-out;
}

@keyframes wqb-smoke-dissipate {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }

    100% {
        opacity: 0;
        transform: scale(1.5) translateY(0px);
        filter: blur(10px);
    }
}