.seb-chatbot-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

/* Bulle flottante */
.seb-chatbot-toggle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Panel */
.seb-chatbot-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    max-height: 480px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.seb-chatbot-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.seb-chatbot-messages {
    overflow-y: auto;
    max-height: 340px;
    padding-right: .25rem;
}

/* Messages */
.seb-chatbot-message {
    margin-bottom: .5rem;
    display: flex;
}

.seb-chatbot-message-user {
    justify-content: flex-end;
}

.seb-chatbot-message-user .seb-chatbot-bubble {
    background-color: #0d6efd;
    color: #fff;
    border-radius: 1rem 0.5rem 0.5rem 1rem;
}

.seb-chatbot-message-bot .seb-chatbot-bubble {
    background-color: #f1f3f5;
    border-radius: 0.5rem 1rem 1rem 0.5rem;
}

.seb-chatbot-bubble {
    padding: .5rem .75rem;
    max-width: 85%;
    font-size: .9rem;
}

/* Cartes events */
.seb-chatbot-events {
    margin-top: .5rem;
}

.seb-chatbot-event-card {
    font-size: .85rem;
    border-radius: .5rem;
    border: 1px solid rgba(0,0,0,.06);
    padding: .5rem .6rem;
    margin-bottom: .35rem;
    background-color: #fff;
}

.seb-chatbot-event-title {
    font-weight: 600;
}

.seb-chatbot-event-meta {
    font-size: .78rem;
    color: #6c757d;
}

/* Loader */
.seb-chatbot-typing {
    font-size: .75rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.seb-chatbot-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #6c757d;
    animation: sebChatbotDot 1s infinite ease-in-out;
}
.seb-chatbot-dot:nth-child(2) { animation-delay: 0.15s; }
.seb-chatbot-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes sebChatbotDot {
    0%, 80%, 100% { transform: translateY(0); opacity: .4; }
    40% { transform: translateY(-3px); opacity: 1; }
}

/* Optionnel : masquer sur mobile très petit */
@media (max-width: 575.98px) {
    .seb-chatbot-panel {
        right: .75rem;
        left: .75rem;
        width: auto;
    }
}
