/* Chat Bubble Styles */
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #8c52ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
    animation: bubble-bounce 1s ease infinite;
}

/* Accessibility: Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
    .chat-bubble {
        animation: none !important;
        transition: none !important;
    }
    
    .chat-bubble:hover {
        transform: none !important;
    }
    
    .chat-bubble:active {
        transform: none !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .chat-bubble {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .chat-bubble-icon {
        font-size: 1.3rem;
    }

    /* Verbesserte Touch-Targets für Mobile */
    .chat-bubble:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

.chat-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    animation: none;
}

.chat-bubble-icon {
    font-size: 1.5rem;
}

@keyframes bubble-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hide the chat bubble by default */
.chat-bubble.hidden {
    display: none;
}