#camlica-popup-wrapper {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: 'Unbounded', sans-serif;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #camlica-popup-wrapper {
        bottom: 20px;
        left: 20px;
        gap: 12px;
        max-width: calc(100% - 40px); /* Prevent overflow */
    }

    #camlica-floating-icon {
        width: 55px !important;
        height: 55px !important;
        flex-shrink: 0;
    }

    #camlica-speech-bubble {
        padding: 10px 15px !important;
        border-radius: 16px !important;
        white-space: normal !important; /* Allow wrapping on mobile */
        max-width: 200px;
    }

    .camlica-text {
        font-size: 11px !important;
        line-height: 1.4;
    }

    .camlica-logo-white {
        width: 28px !important;
        height: 28px !important;
    }
}

#camlica-floating-icon {
    width: 65px;
    height: 65px;
    background: #94c93d !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 10px 25px rgba(148, 201, 61, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    overflow: hidden;
}

#camlica-floating-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: #a3d64c !important;
    box-shadow: 0 15px 35px rgba(148, 201, 61, 0.4);
}

.camlica-logo-white {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    object-fit: contain;
}

#camlica-speech-bubble {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 16px 28px;
    border-radius: 24px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1);
    transform-origin: left center;
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    white-space: nowrap;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    /* Float animation removed */
}

/* Shimmer effect for glass */
#camlica-speech-bubble::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 55%
    );
    animation: camlica-shimmer 6s infinite;
    pointer-events: none;
}

@keyframes camlica-shimmer {
    0% { transform: translate(-30%, -30%); }
    100% { transform: translate(30%, 30%); }
}

@keyframes camlica-float {
    0%, 100% { transform: translateY(0) scale(1.0); }
    50% { transform: translateY(-8px) scale(1.02); }
}

#camlica-speech-bubble::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

/* Position adjustment */
#camlica-speech-bubble {
    order: 2;
}

#camlica-speech-bubble.camlica-hidden {
    opacity: 0;
    transform: scale(0.8) translateX(-20px);
    pointer-events: none;
}

#camlica-speech-bubble:not(.camlica-hidden) {
    opacity: 1;
    transform: scale(1) translateX(0);
}

.camlica-text {
    color: #0b2644;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: normal;
    white-space: pre-wrap; /* Preserves spaces during typing */
    position: relative;
    z-index: 2;
}

/* Pulse animation for the icon */
@keyframes camlica-pulse {
    0% { box-shadow: 0 0 0 0 rgba(148, 201, 61, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(148, 201, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(148, 201, 61, 0); }
}

#camlica-floating-icon {
    /* Pulse animation removed */
}
