.flexxon-chat-container {
    width: 100%;
    max-width: 100%;
    height: 80vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    background: #fff;
    border-radius: 0;
    margin: 0;
    overflow: hidden;
}

.chat-header {
    padding: 15px 20px;
    background: #704BD8;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h2 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.message {
    display: flex;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease-out;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}

.bubble {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 70%;
    word-wrap: break-word;
    line-height: 1.4;
}

.user-message {
    justify-content: flex-end;
}

.user-message .avatar {
    background: #704BD8;
    margin-right: 0;
    margin-left: 12px;
}

.user-message .bubble {
    background: #704BD8;
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .avatar {
    background: #333;
}

.bot-message .bubble {
    background: #e2e8f0;
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: none;
    padding: 0 20px 15px 68px;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #94a3b8;
    margin-right: 4px;
    animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.chat-input {
    display: flex;
    padding: 15px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

#flexxon-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

#flexxon-input:focus {
    border-color: #df146a;
}

#flexxon-send {
    background: #704BD8;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

#flexxon-send:hover {
    background: #c0105a;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}