.ai-chat-widget-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    height: 550px;
    z-index: 1050;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.ai-chat-widget-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ai-chat-window {
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0,0,0,0.05);
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

/* User Message */
.ai-msg-user {
    background-color: #2ac3a2;
    color: white;
    border-radius: 16px 4px 16px 16px !important;
}

/* AI Message */
.ai-msg-bot {
    background-color: white;
    color: #1f2937;
    border-radius: 4px 16px 16px 16px !important;
    border: 1px solid #e2e8f0;
}

.ai-msg-bot p:last-child {
    margin-bottom: 0;
}
.ai-msg-bot ul, .ai-msg-bot ol {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
}

/* Quick Actions */
.ai-quick-action-btn {
    background-color: #e6f9f5;
    color: #0f766e;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ccfbf1;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 8px;
    display: inline-block;
}

.ai-quick-action-btn:hover {
    background-color: #ccfbf1;
    color: #115e59;
}

/* Typing Indicator */
.ai-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    background-color: white;
    border-radius: 4px 16px 16px 16px;
    width: fit-content;
    border: 1px solid #e2e8f0;
}

.ai-typing-dot {
    width: 6px;
    height: 6px;
    background-color: #94a3b8;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

#ai-chat-floating-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 576px) {
    .ai-chat-widget-container {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 90px;
        height: calc(100vh - 120px);
    }
}
