#vn-chatbot-widget {
    max-width: 420px;
    margin: 20px auto;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

#vncb-header {
    background: #1a3a5c;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
}

#vncb-toggle {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
}

#vncb-messages {
    height: 400px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vncb-msg {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
}

.vncb-bot {
    background: #f0f3f7;
    align-self: flex-start;
    border-left: 3px solid #1a3a5c;
}

.vncb-user {
    background: #1a3a5c;
    color: #fff;
    align-self: flex-end;
}

.vncb-typing {
    opacity: 0.6;
    font-style: italic;
}

#vncb-input-area {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eee;
    gap: 8px;
}

#vncb-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

#vncb-send {
    background: #1a3a5c;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

#vncb-send:hover {
    background: #2a4a6c;
}

#vncb-send:disabled,
#vncb-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
