.oab-chat-container {
    max-width: 600px;
    margin: 30px auto;
}

.oab-chat-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.oab-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.oab-chat-header h3 {
    margin: 0;
    font-size: 18px;
}

.oab-status {
    font-size: 14px;
    opacity: 0.9;
}

.oab-chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f5f5f5;
}

.oab-msg {
    margin-bottom: 15px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.oab-msg-text {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
}

.oab-msg-bot .oab-msg-text {
    background: white;
    color: #333;
}

.oab-msg-user {
    text-align: right;
}

.oab-msg-user .oab-msg-text {
    background: #667eea;
    color: white;
}

.oab-typing {
    padding: 10px 20px;
    background: #f5f5f5;
}

.oab-typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    margin: 0 2px;
    animation: typing 1.4s infinite;
}

.oab-typing span:nth-child(2) { animation-delay: 0.2s; }
.oab-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.7; }
    30% { transform: translateY(-10px); opacity: 1; }
}

.oab-chat-input {
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.oab-chat-input textarea {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
}

.oab-chat-input button {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.oab-chat-input button:hover {
    background: #5568d3;
}

.oab-chat-input button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
